(0.2ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "status", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "MyString"], ["highlight", "f"], ["status", "f"], ["published", "f"], ["created_at", "2015-05-13 16:43:20.974804"], ["updated_at", "2015-05-13 16:43:20.974804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "status", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "MyString"], ["highlight", "f"], ["status", "f"], ["published", "f"], ["created_at", "2015-05-13 16:44:19.175416"], ["updated_at", "2015-05-13 16:44:19.175416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" = 'basic-plan' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" = 'plan-du' LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "status", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "MyString"], ["highlight", "f"], ["status", "f"], ["published", "f"], ["created_at", "2015-05-13 16:44:24.792500"], ["updated_at", "2015-05-13 16:44:24.792500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" = 'pLan-du' LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "status", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "MyString"], ["highlight", "f"], ["status", "f"], ["published", "f"], ["created_at", "2015-05-13 16:47:14.098616"], ["updated_at", "2015-05-13 16:47:14.098616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.4ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "status", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "montly"], ["highlight", "f"], ["status", "f"], ["published", "f"], ["created_at", "2015-05-13 16:50:43.250489"], ["updated_at", "2015-05-13 16:50:43.250489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "status", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "montly"], ["highlight", "f"], ["status", "f"], ["published", "f"], ["created_at", "2015-05-13 16:52:16.644660"], ["updated_at", "2015-05-13 16:52:16.644660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "status", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "montly"], ["highlight", "f"], ["status", "f"], ["published", "f"], ["created_at", "2015-05-13 16:53:11.807388"], ["updated_at", "2015-05-13 16:53:11.807388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "status", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "montly"], ["highlight", "f"], ["status", "f"], ["published", "f"], ["created_at", "2015-05-13 16:53:42.382616"], ["updated_at", "2015-05-13 16:53:42.382616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "status", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "montly"], ["highlight", "f"], ["status", "f"], ["published", "f"], ["created_at", "2015-05-13 16:56:27.148777"], ["updated_at", "2015-05-13 16:56:27.148777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "status", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["status", "f"], ["published", "f"], ["created_at", "2015-05-13 16:58:35.776382"], ["updated_at", "2015-05-13 16:58:35.776382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "status", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["status", "f"], ["published", "f"], ["created_at", "2015-05-13 17:00:30.679787"], ["updated_at", "2015-05-13 17:00:30.679787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "status", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["status", "f"], ["published", "f"], ["created_at", "2015-05-13 17:02:17.876611"], ["updated_at", "2015-05-13 17:02:17.876611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:09:11.616473"], ["updated_at", "2015-05-13 17:09:11.616473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:09:49.049094"], ["updated_at", "2015-05-13 17:09:49.049094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:09:51.529272"], ["updated_at", "2015-05-13 17:09:51.529272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:11:16.869692"], ["updated_at", "2015-05-13 17:11:16.869692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:11:16.892103"], ["updated_at", "2015-05-13 17:11:16.892103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan') LIMIT 1  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:12:52.983586"], ["updated_at", "2015-05-13 17:12:52.983586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:12:52.985540"], ["updated_at", "2015-05-13 17:12:52.985540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:12:52.986899"], ["updated_at", "2015-05-13 17:12:52.986899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:12:53.014783"], ["updated_at", "2015-05-13 17:12:53.014783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:14:51.464702"], ["updated_at", "2015-05-13 17:14:51.464702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:14:51.466930"], ["updated_at", "2015-05-13 17:14:51.466930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:14:51.468592"], ["updated_at", "2015-05-13 17:14:51.468592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 17:14:51.470979"], ["updated_at", "2015-05-13 17:14:51.470979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 17:14:51.473464"], ["updated_at", "2015-05-13 17:14:51.473464"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:14:51.475780"], ["updated_at", "2015-05-13 17:14:51.475780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:14:51.503544"], ["updated_at", "2015-05-13 17:14:51.503544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 17:15:30.241636"], ["updated_at", "2015-05-13 17:15:30.241636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 17:15:30.243727"], ["updated_at", "2015-05-13 17:15:30.243727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:15:30.245180"], ["updated_at", "2015-05-13 17:15:30.245180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:15:30.262023"], ["updated_at", "2015-05-13 17:15:30.262023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:15:30.274288"], ["updated_at", "2015-05-13 17:15:30.274288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:15:30.275714"], ["updated_at", "2015-05-13 17:15:30.275714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:15:30.277089"], ["updated_at", "2015-05-13 17:15:30.277089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE (active = true) SQLite3::SQLException: no such column: true: SELECT "susply_plans".* FROM "susply_plans" WHERE (active = true)  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:16:17.090516"], ["updated_at", "2015-05-13 17:16:17.090516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:16:17.118283"], ["updated_at", "2015-05-13 17:16:17.118283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:16:17.119712"], ["updated_at", "2015-05-13 17:16:17.119712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:16:17.121481"], ["updated_at", "2015-05-13 17:16:17.121481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."acitve" = 't' SQLite3::SQLException: no such column: susply_plans.acitve: SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."acitve" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 17:16:17.126030"], ["updated_at", "2015-05-13 17:16:17.126030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 17:16:17.127472"], ["updated_at", "2015-05-13 17:16:17.127472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:16:17.128839"], ["updated_at", "2015-05-13 17:16:17.128839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:16:26.682055"], ["updated_at", "2015-05-13 17:16:26.682055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:16:26.684474"], ["updated_at", "2015-05-13 17:16:26.684474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:16:26.685954"], ["updated_at", "2015-05-13 17:16:26.685954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:16:26.692246"], ["updated_at", "2015-05-13 17:16:26.692246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 17:16:26.720942"], ["updated_at", "2015-05-13 17:16:26.720942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 17:16:26.722867"], ["updated_at", "2015-05-13 17:16:26.722867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:16:26.724771"], ["updated_at", "2015-05-13 17:16:26.724771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 17:16:41.266708"], ["updated_at", "2015-05-13 17:16:41.266708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 17:16:41.268856"], ["updated_at", "2015-05-13 17:16:41.268856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:16:41.270304"], ["updated_at", "2015-05-13 17:16:41.270304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:16:41.276385"], ["updated_at", "2015-05-13 17:16:41.276385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:16:41.278212"], ["updated_at", "2015-05-13 17:16:41.278212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:16:41.279933"], ["updated_at", "2015-05-13 17:16:41.279933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.2ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:16:41.301583"], ["updated_at", "2015-05-13 17:16:41.301583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 17:20:46.128663"], ["updated_at", "2015-05-13 17:20:46.128663"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 17:20:46.131087"], ["updated_at", "2015-05-13 17:20:46.131087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:20:46.132717"], ["updated_at", "2015-05-13 17:20:46.132717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:20:46.138147"], ["updated_at", "2015-05-13 17:20:46.138147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 17:20:46.139873"], ["updated_at", "2015-05-13 17:20:46.139873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:20:46.141336"], ["updated_at", "2015-05-13 17:20:46.141336"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 17:20:46.152844"], ["updated_at", "2015-05-13 17:20:46.152844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 18:13:29.122449"], ["updated_at", "2015-05-13 18:13:29.122449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 18:13:29.124854"], ["updated_at", "2015-05-13 18:13:29.124854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 18:13:29.126187"], ["updated_at", "2015-05-13 18:13:29.126187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 18:13:29.131559"], ["updated_at", "2015-05-13 18:13:29.131559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 18:13:29.133973"], ["updated_at", "2015-05-13 18:13:29.133973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 18:13:29.135488"], ["updated_at", "2015-05-13 18:13:29.135488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 18:13:29.155429"], ["updated_at", "2015-05-13 18:13:29.155429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 18:14:01.108919"], ["updated_at", "2015-05-13 18:14:01.108919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 18:14:01.111484"], ["updated_at", "2015-05-13 18:14:01.111484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 18:14:01.113318"], ["updated_at", "2015-05-13 18:14:01.113318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 18:14:01.121072"], ["updated_at", "2015-05-13 18:14:01.121072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 18:14:01.122695"], ["updated_at", "2015-05-13 18:14:01.122695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 18:14:01.124462"], ["updated_at", "2015-05-13 18:14:01.124462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 18:14:01.138961"], ["updated_at", "2015-05-13 18:14:01.138961"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 18:14:03.990823"], ["updated_at", "2015-05-13 18:14:03.990823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 18:14:04.009970"], ["updated_at", "2015-05-13 18:14:04.009970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 18:14:04.011493"], ["updated_at", "2015-05-13 18:14:04.011493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 18:14:04.013075"], ["updated_at", "2015-05-13 18:14:04.013075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 18:14:04.019132"], ["updated_at", "2015-05-13 18:14:04.019132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 18:14:04.020839"], ["updated_at", "2015-05-13 18:14:04.020839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 18:14:04.023332"], ["updated_at", "2015-05-13 18:14:04.023332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 18:24:13.370896"], ["updated_at", "2015-05-13 18:24:13.370896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 18:24:13.377976"], ["updated_at", "2015-05-13 18:24:13.377976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 18:24:13.379915"], ["updated_at", "2015-05-13 18:24:13.379915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 18:24:13.381701"], ["updated_at", "2015-05-13 18:24:13.381701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 18:24:13.388343"], ["updated_at", "2015-05-13 18:24:13.388343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 18:24:13.389983"], ["updated_at", "2015-05-13 18:24:13.389983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 18:24:13.392177"], ["updated_at", "2015-05-13 18:24:13.392177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:38:40.703994"], ["updated_at", "2015-05-13 21:38:40.703994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:38:40.706098"], ["updated_at", "2015-05-13 21:38:40.706098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:38:40.707922"], ["updated_at", "2015-05-13 21:38:40.707922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:38:40.764204"], ["updated_at", "2015-05-13 21:38:40.764204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:38:40.771293"], ["updated_at", "2015-05-13 21:38:40.771293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:38:40.772716"], ["updated_at", "2015-05-13 21:38:40.772716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:38:40.774178"], ["updated_at", "2015-05-13 21:38:40.774178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:40:05.744401"], ["updated_at", "2015-05-13 21:40:05.744401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:40:05.746879"], ["updated_at", "2015-05-13 21:40:05.746879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:40:05.748828"], ["updated_at", "2015-05-13 21:40:05.748828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:40:05.754893"], ["updated_at", "2015-05-13 21:40:05.754893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:40:05.756517"], ["updated_at", "2015-05-13 21:40:05.756517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:40:05.758212"], ["updated_at", "2015-05-13 21:40:05.758212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:40:05.782453"], ["updated_at", "2015-05-13 21:40:05.782453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:40:15.261163"], ["updated_at", "2015-05-13 21:40:15.261163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:40:15.284605"], ["updated_at", "2015-05-13 21:40:15.284605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:40:15.286858"], ["updated_at", "2015-05-13 21:40:15.286858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:40:15.288430"], ["updated_at", "2015-05-13 21:40:15.288430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:40:15.294052"], ["updated_at", "2015-05-13 21:40:15.294052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:40:15.295600"], ["updated_at", "2015-05-13 21:40:15.295600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:40:15.297073"], ["updated_at", "2015-05-13 21:40:15.297073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.6ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:40:27.241397"], ["updated_at", "2015-05-13 21:40:27.241397"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:40:27.261229"], ["updated_at", "2015-05-13 21:40:27.261229"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:40:27.279754"], ["updated_at", "2015-05-13 21:40:27.279754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.2ms) rollback transaction  (4.6ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:40:27.405448"], ["updated_at", "2015-05-13 21:40:27.405448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.5ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.7ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.5ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:40:27.576469"], ["updated_at", "2015-05-13 21:40:27.576469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:40:27.594318"], ["updated_at", "2015-05-13 21:40:27.594318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:40:27.611937"], ["updated_at", "2015-05-13 21:40:27.611937"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) rollback transaction  (0.7ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:44:21.198795"], ["updated_at", "2015-05-13 21:44:21.198795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (2.8ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:44:21.215688"], ["updated_at", "2015-05-13 21:44:21.215688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:44:21.231843"], ["updated_at", "2015-05-13 21:44:21.231843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:44:21.261532"], ["updated_at", "2015-05-13 21:44:21.261532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:44:21.273700"], ["updated_at", "2015-05-13 21:44:21.273700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:44:21.290088"], ["updated_at", "2015-05-13 21:44:21.290088"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.3ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.3ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:44:21.486224"], ["updated_at", "2015-05-13 21:44:21.486224"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.3ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:45:12.681631"], ["updated_at", "2015-05-13 21:45:12.681631"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.4ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:45:12.906204"], ["updated_at", "2015-05-13 21:45:12.906204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:45:12.923921"], ["updated_at", "2015-05-13 21:45:12.923921"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:45:12.940456"], ["updated_at", "2015-05-13 21:45:12.940456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:45:12.972557"], ["updated_at", "2015-05-13 21:45:12.972557"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:45:12.989624"], ["updated_at", "2015-05-13 21:45:12.989624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:45:13.002940"], ["updated_at", "2015-05-13 21:45:13.002940"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:45:35.062983"], ["updated_at", "2015-05-13 21:45:35.062983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:45:35.065017"], ["updated_at", "2015-05-13 21:45:35.065017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:45:35.066377"], ["updated_at", "2015-05-13 21:45:35.066377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:45:35.079842"], ["updated_at", "2015-05-13 21:45:35.079842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:45:35.081648"], ["updated_at", "2015-05-13 21:45:35.081648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:45:35.083071"], ["updated_at", "2015-05-13 21:45:35.083071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:45:35.100707"], ["updated_at", "2015-05-13 21:45:35.100707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.6ms) rollback transaction  (0.7ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:46:57.498185"], ["updated_at", "2015-05-13 21:46:57.498185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:46:57.530335"], ["updated_at", "2015-05-13 21:46:57.530335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:46:57.532478"], ["updated_at", "2015-05-13 21:46:57.532478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:46:57.533862"], ["updated_at", "2015-05-13 21:46:57.533862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:46:57.539184"], ["updated_at", "2015-05-13 21:46:57.539184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:46:57.540888"], ["updated_at", "2015-05-13 21:46:57.540888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:46:57.542311"], ["updated_at", "2015-05-13 21:46:57.542311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:48:18.008579"], ["updated_at", "2015-05-13 21:48:18.008579"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:48:18.022869"], ["updated_at", "2015-05-13 21:48:18.022869"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:48:18.040922"], ["updated_at", "2015-05-13 21:48:18.040922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.2ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.3ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.6ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.5ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:48:18.228361"], ["updated_at", "2015-05-13 21:48:18.228361"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.4ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:48:18.331700"], ["updated_at", "2015-05-13 21:48:18.331700"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:48:18.350460"], ["updated_at", "2015-05-13 21:48:18.350460"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:48:18.368961"], ["updated_at", "2015-05-13 21:48:18.368961"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:48:40.281471"], ["updated_at", "2015-05-13 21:48:40.281471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:48:40.283504"], ["updated_at", "2015-05-13 21:48:40.283504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:48:40.285961"], ["updated_at", "2015-05-13 21:48:40.285961"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:48:40.293552"], ["updated_at", "2015-05-13 21:48:40.293552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:48:40.295406"], ["updated_at", "2015-05-13 21:48:40.295406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:48:40.297065"], ["updated_at", "2015-05-13 21:48:40.297065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:48:40.299770"], ["updated_at", "2015-05-13 21:48:40.299770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:48:57.097932"], ["updated_at", "2015-05-13 21:48:57.097932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:48:57.114429"], ["updated_at", "2015-05-13 21:48:57.114429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:48:57.116017"], ["updated_at", "2015-05-13 21:48:57.116017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:48:57.118007"], ["updated_at", "2015-05-13 21:48:57.118007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:48:57.124506"], ["updated_at", "2015-05-13 21:48:57.124506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:48:57.126057"], ["updated_at", "2015-05-13 21:48:57.126057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:48:57.127512"], ["updated_at", "2015-05-13 21:48:57.127512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:49:23.324532"], ["updated_at", "2015-05-13 21:49:23.324532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:49:23.327754"], ["updated_at", "2015-05-13 21:49:23.327754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:49:23.329874"], ["updated_at", "2015-05-13 21:49:23.329874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:49:23.336940"], ["updated_at", "2015-05-13 21:49:23.336940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:49:23.338643"], ["updated_at", "2015-05-13 21:49:23.338643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:49:23.340219"], ["updated_at", "2015-05-13 21:49:23.340219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:49:23.358094"], ["updated_at", "2015-05-13 21:49:23.358094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (7.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:49:34.445210"], ["updated_at", "2015-05-13 21:49:34.445210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:49:34.455168"], ["updated_at", "2015-05-13 21:49:34.455168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:49:34.456629"], ["updated_at", "2015-05-13 21:49:34.456629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:49:34.457987"], ["updated_at", "2015-05-13 21:49:34.457987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:49:34.465522"], ["updated_at", "2015-05-13 21:49:34.465522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:49:34.467329"], ["updated_at", "2015-05-13 21:49:34.467329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:49:34.468893"], ["updated_at", "2015-05-13 21:49:34.468893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:50:15.933392"], ["updated_at", "2015-05-13 21:50:15.933392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:50:15.952380"], ["updated_at", "2015-05-13 21:50:15.952380"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:50:15.969375"], ["updated_at", "2015-05-13 21:50:15.969375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.2ms) rollback transaction  (0.5ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.5ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:50:16.215552"], ["updated_at", "2015-05-13 21:50:16.215552"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.5ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:50:16.261827"], ["updated_at", "2015-05-13 21:50:16.261827"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:50:16.279264"], ["updated_at", "2015-05-13 21:50:16.279264"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:50:16.298237"], ["updated_at", "2015-05-13 21:50:16.298237"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:50:33.655850"], ["updated_at", "2015-05-13 21:50:33.655850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:50:33.658660"], ["updated_at", "2015-05-13 21:50:33.658660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:50:33.660506"], ["updated_at", "2015-05-13 21:50:33.660506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:50:33.668719"], ["updated_at", "2015-05-13 21:50:33.668719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:50:33.676493"], ["updated_at", "2015-05-13 21:50:33.676493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:50:33.678403"], ["updated_at", "2015-05-13 21:50:33.678403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:50:33.692634"], ["updated_at", "2015-05-13 21:50:33.692634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:51:59.715137"], ["updated_at", "2015-05-13 21:51:59.715137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:51:59.718781"], ["updated_at", "2015-05-13 21:51:59.718781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:51:59.720710"], ["updated_at", "2015-05-13 21:51:59.720710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:51:59.727597"], ["updated_at", "2015-05-13 21:51:59.727597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:51:59.736585"], ["updated_at", "2015-05-13 21:51:59.736585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:51:59.738166"], ["updated_at", "2015-05-13 21:51:59.738166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:51:59.759713"], ["updated_at", "2015-05-13 21:51:59.759713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:52:33.410633"], ["updated_at", "2015-05-13 21:52:33.410633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:52:33.414627"], ["updated_at", "2015-05-13 21:52:33.414627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:52:33.416401"], ["updated_at", "2015-05-13 21:52:33.416401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (5.8ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:52:33.422636"], ["updated_at", "2015-05-13 21:52:33.422636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:52:33.430283"], ["updated_at", "2015-05-13 21:52:33.430283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:52:33.432158"], ["updated_at", "2015-05-13 21:52:33.432158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:52:33.434781"], ["updated_at", "2015-05-13 21:52:33.434781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:53:15.941739"], ["updated_at", "2015-05-13 21:53:15.941739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:53:15.944250"], ["updated_at", "2015-05-13 21:53:15.944250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:53:15.947931"], ["updated_at", "2015-05-13 21:53:15.947931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:53:15.978059"], ["updated_at", "2015-05-13 21:53:15.978059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:53:15.985938"], ["updated_at", "2015-05-13 21:53:15.985938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:53:15.987323"], ["updated_at", "2015-05-13 21:53:15.987323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:53:15.988625"], ["updated_at", "2015-05-13 21:53:15.988625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:55:04.979795"], ["updated_at", "2015-05-13 21:55:04.979795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:55:05.003971"], ["updated_at", "2015-05-13 21:55:05.003971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:55:05.005518"], ["updated_at", "2015-05-13 21:55:05.005518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:55:05.006947"], ["updated_at", "2015-05-13 21:55:05.006947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:55:05.013378"], ["updated_at", "2015-05-13 21:55:05.013378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:55:05.014808"], ["updated_at", "2015-05-13 21:55:05.014808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:55:05.016142"], ["updated_at", "2015-05-13 21:55:05.016142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:56:57.272289"], ["updated_at", "2015-05-13 21:56:57.272289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:56:57.278349"], ["updated_at", "2015-05-13 21:56:57.278349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:56:57.279688"], ["updated_at", "2015-05-13 21:56:57.279688"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:56:57.281056"], ["updated_at", "2015-05-13 21:56:57.281056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:56:57.286425"], ["updated_at", "2015-05-13 21:56:57.286425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:56:57.287800"], ["updated_at", "2015-05-13 21:56:57.287800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:56:57.289065"], ["updated_at", "2015-05-13 21:56:57.289065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:58:43.507853"], ["updated_at", "2015-05-13 21:58:43.507853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:58:43.526145"], ["updated_at", "2015-05-13 21:58:43.526145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:58:43.527738"], ["updated_at", "2015-05-13 21:58:43.527738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:58:43.529513"], ["updated_at", "2015-05-13 21:58:43.529513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:58:43.536150"], ["updated_at", "2015-05-13 21:58:43.536150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:58:43.538228"], ["updated_at", "2015-05-13 21:58:43.538228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:58:43.539659"], ["updated_at", "2015-05-13 21:58:43.539659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:59:43.386142"], ["updated_at", "2015-05-13 21:59:43.386142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 21:59:43.388383"], ["updated_at", "2015-05-13 21:59:43.388383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:59:43.390642"], ["updated_at", "2015-05-13 21:59:43.390642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:59:43.396881"], ["updated_at", "2015-05-13 21:59:43.396881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 21:59:43.398484"], ["updated_at", "2015-05-13 21:59:43.398484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:59:43.400210"], ["updated_at", "2015-05-13 21:59:43.400210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 21:59:43.404029"], ["updated_at", "2015-05-13 21:59:43.404029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:12:36.025376"], ["updated_at", "2015-05-13 22:12:36.025376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:12:36.028773"], ["updated_at", "2015-05-13 22:12:36.028773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:12:36.030172"], ["updated_at", "2015-05-13 22:12:36.030172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:12:36.031585"], ["updated_at", "2015-05-13 22:12:36.031585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:12:36.037923"], ["updated_at", "2015-05-13 22:12:36.037923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:12:36.039537"], ["updated_at", "2015-05-13 22:12:36.039537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:12:36.041084"], ["updated_at", "2015-05-13 22:12:36.041084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:12:51.605387"], ["updated_at", "2015-05-13 22:12:51.605387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:12:51.615551"], ["updated_at", "2015-05-13 22:12:51.615551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:12:51.617183"], ["updated_at", "2015-05-13 22:12:51.617183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:12:51.618744"], ["updated_at", "2015-05-13 22:12:51.618744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:12:51.624690"], ["updated_at", "2015-05-13 22:12:51.624690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:12:51.626320"], ["updated_at", "2015-05-13 22:12:51.626320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:12:51.627851"], ["updated_at", "2015-05-13 22:12:51.627851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:16:21.749486"], ["updated_at", "2015-05-13 22:16:21.749486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:16:21.751415"], ["updated_at", "2015-05-13 22:16:21.751415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:16:21.752913"], ["updated_at", "2015-05-13 22:16:21.752913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:16:21.776466"], ["updated_at", "2015-05-13 22:16:21.776466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:16:21.783106"], ["updated_at", "2015-05-13 22:16:21.783106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:16:21.784542"], ["updated_at", "2015-05-13 22:16:21.784542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:16:21.785888"], ["updated_at", "2015-05-13 22:16:21.785888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:16:21.804359"], ["updated_at", "2015-05-13 22:16:21.804359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:16:33.364607"], ["updated_at", "2015-05-13 22:16:33.364607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:16:33.391058"], ["updated_at", "2015-05-13 22:16:33.391058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:16:33.392774"], ["updated_at", "2015-05-13 22:16:33.392774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:16:33.394258"], ["updated_at", "2015-05-13 22:16:33.394258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:16:33.400813"], ["updated_at", "2015-05-13 22:16:33.400813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:16:33.403481"], ["updated_at", "2015-05-13 22:16:33.403481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:16:33.405363"], ["updated_at", "2015-05-13 22:16:33.405363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:16:33.407951"], ["updated_at", "2015-05-13 22:16:33.407951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:16:41.013163"], ["updated_at", "2015-05-13 22:16:41.013163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:16:41.039323"], ["updated_at", "2015-05-13 22:16:41.039323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:16:41.040945"], ["updated_at", "2015-05-13 22:16:41.040945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:16:41.042526"], ["updated_at", "2015-05-13 22:16:41.042526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:16:41.048901"], ["updated_at", "2015-05-13 22:16:41.048901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:16:41.050700"], ["updated_at", "2015-05-13 22:16:41.050700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:16:41.052421"], ["updated_at", "2015-05-13 22:16:41.052421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:16:41.055765"], ["updated_at", "2015-05-13 22:16:41.055765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:17:38.536669"], ["updated_at", "2015-05-13 22:17:38.536669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:17:38.538599"], ["updated_at", "2015-05-13 22:17:38.538599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:17:38.541200"], ["updated_at", "2015-05-13 22:17:38.541200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:17:38.546740"], ["updated_at", "2015-05-13 22:17:38.546740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:17:38.549192"], ["updated_at", "2015-05-13 22:17:38.549192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:17:38.551076"], ["updated_at", "2015-05-13 22:17:38.551076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:17:38.554540"], ["updated_at", "2015-05-13 22:17:38.554540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:17:38.578404"], ["updated_at", "2015-05-13 22:17:38.578404"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:17:46.771096"], ["updated_at", "2015-05-13 22:17:46.771096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:17:46.794325"], ["updated_at", "2015-05-13 22:17:46.794325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:17:46.797664"], ["updated_at", "2015-05-13 22:17:46.797664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:17:46.799984"], ["updated_at", "2015-05-13 22:17:46.799984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:17:46.801516"], ["updated_at", "2015-05-13 22:17:46.801516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:17:46.820545"], ["updated_at", "2015-05-13 22:17:46.820545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:17:46.829949"], ["updated_at", "2015-05-13 22:17:46.829949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:17:46.831370"], ["updated_at", "2015-05-13 22:17:46.831370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:17:46.833120"], ["updated_at", "2015-05-13 22:17:46.833120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:18:01.173468"], ["updated_at", "2015-05-13 22:18:01.173468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:18:01.175756"], ["updated_at", "2015-05-13 22:18:01.175756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:18:01.177282"], ["updated_at", "2015-05-13 22:18:01.177282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:18:01.210340"], ["updated_at", "2015-05-13 22:18:01.210340"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:18:01.213592"], ["updated_at", "2015-05-13 22:18:01.213592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:18:01.215394"], ["updated_at", "2015-05-13 22:18:01.215394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:18:01.217437"], ["updated_at", "2015-05-13 22:18:01.217437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:18:01.220590"], ["updated_at", "2015-05-13 22:18:01.220590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:18:01.242641"], ["updated_at", "2015-05-13 22:18:01.242641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:18:15.630349"], ["updated_at", "2015-05-13 22:18:15.630349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:18:15.632942"], ["updated_at", "2015-05-13 22:18:15.632942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:18:15.634529"], ["updated_at", "2015-05-13 22:18:15.634529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:18:15.640234"], ["updated_at", "2015-05-13 22:18:15.640234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:18:15.641938"], ["updated_at", "2015-05-13 22:18:15.641938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:18:15.643504"], ["updated_at", "2015-05-13 22:18:15.643504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:18:15.658391"], ["updated_at", "2015-05-13 22:18:15.658391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:18:15.674103"], ["updated_at", "2015-05-13 22:18:15.674103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:18:15.685551"], ["updated_at", "2015-05-13 22:18:15.685551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:19:17.535197"], ["updated_at", "2015-05-13 22:19:17.535197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:19:17.561610"], ["updated_at", "2015-05-13 22:19:17.561610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:19:17.565446"], ["updated_at", "2015-05-13 22:19:17.565446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:19:17.566928"], ["updated_at", "2015-05-13 22:19:17.566928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:19:17.568407"], ["updated_at", "2015-05-13 22:19:17.568407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:19:17.587673"], ["updated_at", "2015-05-13 22:19:17.587673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:19:17.597381"], ["updated_at", "2015-05-13 22:19:17.597381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:19:17.598786"], ["updated_at", "2015-05-13 22:19:17.598786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:19:17.600149"], ["updated_at", "2015-05-13 22:19:17.600149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:19:41.945190"], ["updated_at", "2015-05-13 22:19:41.945190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 22:19:41.947117"], ["updated_at", "2015-05-13 22:19:41.947117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:19:41.948481"], ["updated_at", "2015-05-13 22:19:41.948481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:19:41.971629"], ["updated_at", "2015-05-13 22:19:41.971629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:19:41.980693"], ["updated_at", "2015-05-13 22:19:41.980693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 22:19:41.982104"], ["updated_at", "2015-05-13 22:19:41.982104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:19:41.983575"], ["updated_at", "2015-05-13 22:19:41.983575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:19:41.986037"], ["updated_at", "2015-05-13 22:19:41.986037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 22:19:42.010906"], ["updated_at", "2015-05-13 22:19:42.010906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 23:16:59.028122"], ["updated_at", "2015-05-13 23:16:59.028122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 23:16:59.034932"], ["updated_at", "2015-05-13 23:16:59.034932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 23:16:59.045216"], ["updated_at", "2015-05-13 23:16:59.045216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 23:16:59.060387"], ["updated_at", "2015-05-13 23:16:59.060387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-13 23:16:59.061837"], ["updated_at", "2015-05-13 23:16:59.061837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 23:16:59.063158"], ["updated_at", "2015-05-13 23:16:59.063158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 23:16:59.068524"], ["updated_at", "2015-05-13 23:16:59.068524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-13 23:16:59.069976"], ["updated_at", "2015-05-13 23:16:59.069976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-13 23:16:59.071287"], ["updated_at", "2015-05-13 23:16:59.071287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:08:56.401656"], ["updated_at", "2015-05-14 00:08:56.401656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:08:56.426037"], ["updated_at", "2015-05-14 00:08:56.426037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:08:56.428964"], ["updated_at", "2015-05-14 00:08:56.428964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:08:56.430557"], ["updated_at", "2015-05-14 00:08:56.430557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:08:56.432382"], ["updated_at", "2015-05-14 00:08:56.432382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:08:56.438107"], ["updated_at", "2015-05-14 00:08:56.438107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:08:56.461266"], ["updated_at", "2015-05-14 00:08:56.461266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:08:56.463004"], ["updated_at", "2015-05-14 00:08:56.463004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:08:56.464444"], ["updated_at", "2015-05-14 00:08:56.464444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:12:53.511105"], ["updated_at", "2015-05-14 00:12:53.511105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:12:53.513521"], ["updated_at", "2015-05-14 00:12:53.513521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:12:53.515012"], ["updated_at", "2015-05-14 00:12:53.515012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:12:53.537535"], ["updated_at", "2015-05-14 00:12:53.537535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:12:53.548019"], ["updated_at", "2015-05-14 00:12:53.548019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:12:53.549570"], ["updated_at", "2015-05-14 00:12:53.549570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:12:53.551565"], ["updated_at", "2015-05-14 00:12:53.551565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:12:53.554787"], ["updated_at", "2015-05-14 00:12:53.554787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:12:53.579906"], ["updated_at", "2015-05-14 00:12:53.579906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:14:04.489744"], ["updated_at", "2015-05-14 00:14:04.489744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:14:04.501401"], ["updated_at", "2015-05-14 00:14:04.501401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:14:04.520696"], ["updated_at", "2015-05-14 00:14:04.520696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:14:04.522440"], ["updated_at", "2015-05-14 00:14:04.522440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:14:04.523947"], ["updated_at", "2015-05-14 00:14:04.523947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:14:04.530052"], ["updated_at", "2015-05-14 00:14:04.530052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:14:04.531645"], ["updated_at", "2015-05-14 00:14:04.531645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:14:04.534095"], ["updated_at", "2015-05-14 00:14:04.534095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:14:04.546029"], ["updated_at", "2015-05-14 00:14:04.546029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:14:48.320792"], ["updated_at", "2015-05-14 00:14:48.320792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:14:48.332745"], ["updated_at", "2015-05-14 00:14:48.332745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:14:48.355365"], ["updated_at", "2015-05-14 00:14:48.355365"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:14:48.356958"], ["updated_at", "2015-05-14 00:14:48.356958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:14:48.358434"], ["updated_at", "2015-05-14 00:14:48.358434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:14:48.364792"], ["updated_at", "2015-05-14 00:14:48.364792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:14:48.366352"], ["updated_at", "2015-05-14 00:14:48.366352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:14:48.368068"], ["updated_at", "2015-05-14 00:14:48.368068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:14:48.384914"], ["updated_at", "2015-05-14 00:14:48.384914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:15:07.922469"], ["updated_at", "2015-05-14 00:15:07.922469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:15:07.951157"], ["updated_at", "2015-05-14 00:15:07.951157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:15:07.953027"], ["updated_at", "2015-05-14 00:15:07.953027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:15:07.954830"], ["updated_at", "2015-05-14 00:15:07.954830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:15:07.961134"], ["updated_at", "2015-05-14 00:15:07.961134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:15:07.963109"], ["updated_at", "2015-05-14 00:15:07.963109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:15:07.964755"], ["updated_at", "2015-05-14 00:15:07.964755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:15:07.985238"], ["updated_at", "2015-05-14 00:15:07.985238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:15:07.991535"], ["updated_at", "2015-05-14 00:15:07.991535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:15:39.158019"], ["updated_at", "2015-05-14 00:15:39.158019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:15:39.164238"], ["updated_at", "2015-05-14 00:15:39.164238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:15:39.185536"], ["updated_at", "2015-05-14 00:15:39.185536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:15:39.191374"], ["updated_at", "2015-05-14 00:15:39.191374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:15:39.192886"], ["updated_at", "2015-05-14 00:15:39.192886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:15:39.194365"], ["updated_at", "2015-05-14 00:15:39.194365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:15:39.200438"], ["updated_at", "2015-05-14 00:15:39.200438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:15:39.202390"], ["updated_at", "2015-05-14 00:15:39.202390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:15:39.204207"], ["updated_at", "2015-05-14 00:15:39.204207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:16:20.071809"], ["updated_at", "2015-05-14 00:16:20.071809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:16:20.073863"], ["updated_at", "2015-05-14 00:16:20.073863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:16:20.075282"], ["updated_at", "2015-05-14 00:16:20.075282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:16:20.081622"], ["updated_at", "2015-05-14 00:16:20.081622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:16:20.083231"], ["updated_at", "2015-05-14 00:16:20.083231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:16:20.084825"], ["updated_at", "2015-05-14 00:16:20.084825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:16:20.106523"], ["updated_at", "2015-05-14 00:16:20.106523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:16:20.117834"], ["updated_at", "2015-05-14 00:16:20.117834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:16:20.128751"], ["updated_at", "2015-05-14 00:16:20.128751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:14.138635"], ["updated_at", "2015-05-14 00:40:14.138635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:40:14.154119"], ["updated_at", "2015-05-14 00:40:14.154119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:40:14.155647"], ["updated_at", "2015-05-14 00:40:14.155647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:14.157096"], ["updated_at", "2015-05-14 00:40:14.157096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:40:14.162468"], ["updated_at", "2015-05-14 00:40:14.162468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:40:14.163872"], ["updated_at", "2015-05-14 00:40:14.163872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:14.165172"], ["updated_at", "2015-05-14 00:40:14.165172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:14.185631"], ["updated_at", "2015-05-14 00:40:14.185631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:14.190789"], ["updated_at", "2015-05-14 00:40:14.190789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 00:40:14.195005"], ["updated_at", "2015-05-14 00:40:14.195005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:14.196829"], ["updated_at", "2015-05-14 00:40:14.196829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 00:40:26.848265"], ["updated_at", "2015-05-14 00:40:26.848265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:26.860912"], ["updated_at", "2015-05-14 00:40:26.860912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 00:40:26.868321"], ["current_period_start", "2015-05-14 00:40:26.868383"], ["current_period_end", "2015-06-14 00:40:26.868383"], ["created_at", "2015-05-14 00:40:26.869216"], ["updated_at", "2015-05-14 00:40:26.869216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:26.889731"], ["updated_at", "2015-05-14 00:40:26.889731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:40:26.898342"], ["updated_at", "2015-05-14 00:40:26.898342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:40:26.900725"], ["updated_at", "2015-05-14 00:40:26.900725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:26.902693"], ["updated_at", "2015-05-14 00:40:26.902693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:40:26.908493"], ["updated_at", "2015-05-14 00:40:26.908493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:40:26.910006"], ["updated_at", "2015-05-14 00:40:26.910006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:26.911488"], ["updated_at", "2015-05-14 00:40:26.911488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:26.926320"], ["updated_at", "2015-05-14 00:40:26.926320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:26.929064"], ["updated_at", "2015-05-14 00:40:26.929064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:51.219061"], ["updated_at", "2015-05-14 00:40:51.219061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:51.243811"], ["updated_at", "2015-05-14 00:40:51.243811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:40:51.246717"], ["updated_at", "2015-05-14 00:40:51.246717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:40:51.248078"], ["updated_at", "2015-05-14 00:40:51.248078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:51.250141"], ["updated_at", "2015-05-14 00:40:51.250141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:51.265847"], ["updated_at", "2015-05-14 00:40:51.265847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:40:51.278255"], ["updated_at", "2015-05-14 00:40:51.278255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:40:51.281041"], ["updated_at", "2015-05-14 00:40:51.281041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:51.283935"], ["updated_at", "2015-05-14 00:40:51.283935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 00:40:51.289022"], ["updated_at", "2015-05-14 00:40:51.289022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:40:51.291828"], ["updated_at", "2015-05-14 00:40:51.291828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 00:40:51.294220"], ["current_period_start", "2015-05-14 00:40:51.294291"], ["current_period_end", "2015-06-14 00:40:51.294291"], ["created_at", "2015-05-14 00:40:51.295097"], ["updated_at", "2015-05-14 00:40:51.295097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 00:41:16.875292"], ["updated_at", "2015-05-14 00:41:16.875292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:41:16.886871"], ["updated_at", "2015-05-14 00:41:16.886871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 00:41:16.894291"], ["current_period_start", "2015-05-14 00:41:16.894355"], ["current_period_end", "2015-06-14 00:41:16.894355"], ["created_at", "2015-05-14 00:41:16.895138"], ["updated_at", "2015-05-14 00:41:16.895138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:41:16.909471"], ["updated_at", "2015-05-14 00:41:16.909471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:41:16.922140"], ["updated_at", "2015-05-14 00:41:16.922140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:41:16.923631"], ["updated_at", "2015-05-14 00:41:16.923631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:41:16.925517"], ["updated_at", "2015-05-14 00:41:16.925517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:41:16.931869"], ["updated_at", "2015-05-14 00:41:16.931869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:41:16.933385"], ["updated_at", "2015-05-14 00:41:16.933385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:41:16.934759"], ["updated_at", "2015-05-14 00:41:16.934759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:41:16.950412"], ["updated_at", "2015-05-14 00:41:16.950412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:41:16.953243"], ["updated_at", "2015-05-14 00:41:16.953243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:42:08.988500"], ["updated_at", "2015-05-14 00:42:08.988500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:42:08.994117"], ["updated_at", "2015-05-14 00:42:08.994117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 00:42:08.998167"], ["updated_at", "2015-05-14 00:42:08.998167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:42:08.999841"], ["updated_at", "2015-05-14 00:42:08.999841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 00:42:09.000530"], ["current_period_start", "2015-05-14 00:42:09.000530"], ["current_period_end", "2015-06-14 00:42:09.000530"], ["created_at", "2015-05-14 00:42:09.001718"], ["updated_at", "2015-05-14 00:42:09.001718"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (1.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.2ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.5ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:43:25.376848"], ["updated_at", "2015-05-14 00:43:25.376848"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.4ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.2ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.6ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:43:25.551603"], ["updated_at", "2015-05-14 00:43:25.551603"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:43:25.569521"], ["updated_at", "2015-05-14 00:43:25.569521"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:43:25.584080"], ["updated_at", "2015-05-14 00:43:25.584080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.4ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:43:25.614266"], ["updated_at", "2015-05-14 00:43:25.614266"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:43:25.633418"], ["updated_at", "2015-05-14 00:43:25.633418"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:43:25.651097"], ["updated_at", "2015-05-14 00:43:25.651097"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:43:56.627514"], ["updated_at", "2015-05-14 00:43:56.627514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:43:56.629691"], ["updated_at", "2015-05-14 00:43:56.629691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:43:56.631078"], ["updated_at", "2015-05-14 00:43:56.631078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:43:56.636033"], ["updated_at", "2015-05-14 00:43:56.636033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:43:56.637920"], ["updated_at", "2015-05-14 00:43:56.637920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:43:56.639885"], ["updated_at", "2015-05-14 00:43:56.639885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:43:56.661463"], ["updated_at", "2015-05-14 00:43:56.661463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:43:56.669082"], ["updated_at", "2015-05-14 00:43:56.669082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:43:56.680289"], ["updated_at", "2015-05-14 00:43:56.680289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 00:43:56.697272"], ["updated_at", "2015-05-14 00:43:56.697272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:43:56.699122"], ["updated_at", "2015-05-14 00:43:56.699122"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 00:43:56.700545"], ["current_period_start", "2015-05-14 00:43:56.700545"], ["current_period_end", "2015-06-14 00:43:56.700545"], ["created_at", "2015-05-14 00:43:56.702213"], ["updated_at", "2015-05-14 00:43:56.702213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:44:18.048061"], ["updated_at", "2015-05-14 00:44:18.048061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:44:18.049970"], ["updated_at", "2015-05-14 00:44:18.049970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:44:18.051256"], ["updated_at", "2015-05-14 00:44:18.051256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:44:18.057261"], ["updated_at", "2015-05-14 00:44:18.057261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:44:18.059509"], ["updated_at", "2015-05-14 00:44:18.059509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:44:18.061067"], ["updated_at", "2015-05-14 00:44:18.061067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:44:18.077010"], ["updated_at", "2015-05-14 00:44:18.077010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:44:18.087986"], ["updated_at", "2015-05-14 00:44:18.087986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:44:18.100182"], ["updated_at", "2015-05-14 00:44:18.100182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 00:44:18.115553"], ["updated_at", "2015-05-14 00:44:18.115553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:44:18.117256"], ["updated_at", "2015-05-14 00:44:18.117256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 00:44:18.117996"], ["current_period_start", "2015-05-14 00:44:18.117996"], ["current_period_end", "2015-06-14 00:44:18.117996"], ["created_at", "2015-05-14 00:44:18.119254"], ["updated_at", "2015-05-14 00:44:18.119254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:44:40.633600"], ["updated_at", "2015-05-14 00:44:40.633600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:44:40.635568"], ["updated_at", "2015-05-14 00:44:40.635568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:44:40.636907"], ["updated_at", "2015-05-14 00:44:40.636907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:44:40.641894"], ["updated_at", "2015-05-14 00:44:40.641894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:44:40.643289"], ["updated_at", "2015-05-14 00:44:40.643289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:44:40.644783"], ["updated_at", "2015-05-14 00:44:40.644783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:44:40.662801"], ["updated_at", "2015-05-14 00:44:40.662801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:44:40.670630"], ["updated_at", "2015-05-14 00:44:40.670630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:44:40.681337"], ["updated_at", "2015-05-14 00:44:40.681337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 00:44:40.698878"], ["updated_at", "2015-05-14 00:44:40.698878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:44:40.700658"], ["updated_at", "2015-05-14 00:44:40.700658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 00:44:40.701499"], ["current_period_start", "2015-05-14 00:44:40.701499"], ["current_period_end", "2015-06-14 00:44:40.701499"], ["created_at", "2015-05-14 00:44:40.702843"], ["updated_at", "2015-05-14 00:44:40.702843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:45:26.677691"], ["updated_at", "2015-05-14 00:45:26.677691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:45:26.679854"], ["updated_at", "2015-05-14 00:45:26.679854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:45:26.681420"], ["updated_at", "2015-05-14 00:45:26.681420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:45:26.686605"], ["updated_at", "2015-05-14 00:45:26.686605"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:45:26.714424"], ["updated_at", "2015-05-14 00:45:26.714424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:45:26.715868"], ["updated_at", "2015-05-14 00:45:26.715868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:45:26.717169"], ["updated_at", "2015-05-14 00:45:26.717169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 00:45:26.722325"], ["updated_at", "2015-05-14 00:45:26.722325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:45:26.724382"], ["updated_at", "2015-05-14 00:45:26.724382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 00:45:26.725156"], ["current_period_start", "2015-05-14 00:45:26.725156"], ["current_period_end", "2015-06-14 00:45:26.725156"], ["created_at", "2015-05-14 00:45:26.733087"], ["updated_at", "2015-05-14 00:45:26.733087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:45:26.738391"], ["updated_at", "2015-05-14 00:45:26.738391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (4.6ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:45:26.754652"], ["updated_at", "2015-05-14 00:45:26.754652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:48:16.729397"], ["updated_at", "2015-05-14 00:48:16.729397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:48:16.756112"], ["updated_at", "2015-05-14 00:48:16.756112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:48:16.759307"], ["updated_at", "2015-05-14 00:48:16.759307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:48:16.760843"], ["updated_at", "2015-05-14 00:48:16.760843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:48:16.762286"], ["updated_at", "2015-05-14 00:48:16.762286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:48:16.773178"], ["updated_at", "2015-05-14 00:48:16.773178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:48:16.791925"], ["updated_at", "2015-05-14 00:48:16.791925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:48:16.793490"], ["updated_at", "2015-05-14 00:48:16.793490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:48:16.794839"], ["updated_at", "2015-05-14 00:48:16.794839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 00:48:16.799046"], ["updated_at", "2015-05-14 00:48:16.799046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:48:16.801482"], ["updated_at", "2015-05-14 00:48:16.801482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 00:48:16.802285"], ["current_period_start", "2015-05-14 00:48:16.802285"], ["current_period_end", "2015-06-14 00:48:16.802285"], ["created_at", "2015-05-14 00:48:16.803529"], ["updated_at", "2015-05-14 00:48:16.803529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:48:37.386802"], ["updated_at", "2015-05-14 00:48:37.386802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 00:48:37.388788"], ["updated_at", "2015-05-14 00:48:37.388788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:48:37.390087"], ["updated_at", "2015-05-14 00:48:37.390087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:48:37.418761"], ["updated_at", "2015-05-14 00:48:37.418761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:48:37.421757"], ["updated_at", "2015-05-14 00:48:37.421757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 00:48:37.423158"], ["updated_at", "2015-05-14 00:48:37.423158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:48:37.424639"], ["updated_at", "2015-05-14 00:48:37.424639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 00:48:37.431972"], ["updated_at", "2015-05-14 00:48:37.431972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:48:37.434084"], ["updated_at", "2015-05-14 00:48:37.434084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 00:48:37.434843"], ["current_period_start", "2015-05-14 00:48:37.434843"], ["current_period_end", "2015-06-14 00:48:37.434843"], ["created_at", "2015-05-14 00:48:37.442131"], ["updated_at", "2015-05-14 00:48:37.442131"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:48:37.445539"], ["updated_at", "2015-05-14 00:48:37.445539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 00:48:37.463281"], ["updated_at", "2015-05-14 00:48:37.463281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (17.8ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 14:29:57.455677"], ["updated_at", "2015-05-14 14:29:57.455677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 14:29:57.481047"], ["updated_at", "2015-05-14 14:29:57.481047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 14:29:57.495662"], ["updated_at", "2015-05-14 14:29:57.495662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 14:29:57.505724"], ["updated_at", "2015-05-14 14:29:57.505724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 14:29:57.507824"], ["updated_at", "2015-05-14 14:29:57.507824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 14:29:57.509708"], ["updated_at", "2015-05-14 14:29:57.509708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 14:29:57.515747"], ["updated_at", "2015-05-14 14:29:57.515747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 14:29:57.517208"], ["updated_at", "2015-05-14 14:29:57.517208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 14:29:57.518599"], ["updated_at", "2015-05-14 14:29:57.518599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 14:29:57.522506"], ["updated_at", "2015-05-14 14:29:57.522506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 14:29:57.524221"], ["updated_at", "2015-05-14 14:29:57.524221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 14:29:57.524936"], ["current_period_start", "2015-05-14 14:29:57.524936"], ["current_period_end", "2015-06-14 14:29:57.524936"], ["created_at", "2015-05-14 14:29:57.526248"], ["updated_at", "2015-05-14 14:29:57.526248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:15:10.749279"], ["updated_at", "2015-05-14 15:15:10.749279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:15:10.779191"], ["updated_at", "2015-05-14 15:15:10.779191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 15:15:10.783687"], ["updated_at", "2015-05-14 15:15:10.783687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:15:10.785366"], ["updated_at", "2015-05-14 15:15:10.785366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 15:15:10.786113"], ["current_period_start", "2015-05-14 15:15:10.786113"], ["current_period_end", "2015-06-14 15:15:10.786113"], ["created_at", "2015-05-14 15:15:10.787352"], ["updated_at", "2015-05-14 15:15:10.787352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:15:10.794652"], ["updated_at", "2015-05-14 15:15:10.794652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:15:10.814378"], ["updated_at", "2015-05-14 15:15:10.814378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:15:10.816099"], ["updated_at", "2015-05-14 15:15:10.816099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:15:10.818333"], ["updated_at", "2015-05-14 15:15:10.818333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:15:10.825975"], ["updated_at", "2015-05-14 15:15:10.825975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:15:10.832635"], ["updated_at", "2015-05-14 15:15:10.832635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:15:10.834242"], ["updated_at", "2015-05-14 15:15:10.834242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:15:51.030001"], ["updated_at", "2015-05-14 15:15:51.030001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:15:51.055278"], ["updated_at", "2015-05-14 15:15:51.055278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 15:15:51.059591"], ["updated_at", "2015-05-14 15:15:51.059591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:15:51.061197"], ["updated_at", "2015-05-14 15:15:51.061197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 15:15:51.061889"], ["current_period_start", "2015-05-14 15:15:51.061889"], ["current_period_end", "2015-06-14 15:15:51.061889"], ["created_at", "2015-05-14 15:15:51.063082"], ["updated_at", "2015-05-14 15:15:51.063082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:15:51.078675"], ["updated_at", "2015-05-14 15:15:51.078675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:15:51.088032"], ["updated_at", "2015-05-14 15:15:51.088032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:15:51.089512"], ["updated_at", "2015-05-14 15:15:51.089512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:15:51.090874"], ["updated_at", "2015-05-14 15:15:51.090874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:15:51.096538"], ["updated_at", "2015-05-14 15:15:51.096538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:15:51.098208"], ["updated_at", "2015-05-14 15:15:51.098208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:15:51.104305"], ["updated_at", "2015-05-14 15:15:51.104305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:08.029204"], ["updated_at", "2015-05-14 15:16:08.029204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:08.057122"], ["updated_at", "2015-05-14 15:16:08.057122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 15:16:08.065345"], ["updated_at", "2015-05-14 15:16:08.065345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:08.067668"], ["updated_at", "2015-05-14 15:16:08.067668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 15:16:08.069066"], ["current_period_start", "2015-05-14 15:16:08.069066"], ["current_period_end", "2015-06-14 15:16:08.069066"], ["created_at", "2015-05-14 15:16:08.070835"], ["updated_at", "2015-05-14 15:16:08.070835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:16:08.074358"], ["updated_at", "2015-05-14 15:16:08.074358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:16:08.075986"], ["updated_at", "2015-05-14 15:16:08.075986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:08.077515"], ["updated_at", "2015-05-14 15:16:08.077515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:08.089573"], ["updated_at", "2015-05-14 15:16:08.089573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:16:08.106554"], ["updated_at", "2015-05-14 15:16:08.106554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:16:08.107995"], ["updated_at", "2015-05-14 15:16:08.107995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:08.109474"], ["updated_at", "2015-05-14 15:16:08.109474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 15:16:23.772898"], ["updated_at", "2015-05-14 15:16:23.772898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:23.784427"], ["updated_at", "2015-05-14 15:16:23.784427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 15:16:23.785416"], ["current_period_start", "2015-05-14 15:16:23.785416"], ["current_period_end", "2015-06-14 15:16:23.785416"], ["created_at", "2015-05-14 15:16:23.792574"], ["updated_at", "2015-05-14 15:16:23.792574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:23.801875"], ["updated_at", "2015-05-14 15:16:23.801875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:16:23.817577"], ["updated_at", "2015-05-14 15:16:23.817577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:16:23.818946"], ["updated_at", "2015-05-14 15:16:23.818946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:23.820279"], ["updated_at", "2015-05-14 15:16:23.820279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:16:23.825635"], ["updated_at", "2015-05-14 15:16:23.825635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:16:23.827038"], ["updated_at", "2015-05-14 15:16:23.827038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:23.828345"], ["updated_at", "2015-05-14 15:16:23.828345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:23.834716"], ["updated_at", "2015-05-14 15:16:23.834716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:23.848741"], ["updated_at", "2015-05-14 15:16:23.848741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 15:16:35.355006"], ["updated_at", "2015-05-14 15:16:35.355006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:35.366375"], ["updated_at", "2015-05-14 15:16:35.366375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 15:16:35.367526"], ["current_period_start", "2015-05-14 15:16:35.367526"], ["current_period_end", "2015-06-14 15:16:35.367526"], ["created_at", "2015-05-14 15:16:35.375423"], ["updated_at", "2015-05-14 15:16:35.375423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:35.379222"], ["updated_at", "2015-05-14 15:16:35.379222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:16:35.404154"], ["updated_at", "2015-05-14 15:16:35.404154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:16:35.405692"], ["updated_at", "2015-05-14 15:16:35.405692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:35.407101"], ["updated_at", "2015-05-14 15:16:35.407101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:16:35.412627"], ["updated_at", "2015-05-14 15:16:35.412627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:16:35.414240"], ["updated_at", "2015-05-14 15:16:35.414240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:35.415697"], ["updated_at", "2015-05-14 15:16:35.415697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:35.418079"], ["updated_at", "2015-05-14 15:16:35.418079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:16:35.436527"], ["updated_at", "2015-05-14 15:16:35.436527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:17:39.348645"], ["updated_at", "2015-05-14 15:17:39.348645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:17:39.350841"], ["updated_at", "2015-05-14 15:17:39.350841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:17:39.352273"], ["updated_at", "2015-05-14 15:17:39.352273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:17:39.357528"], ["updated_at", "2015-05-14 15:17:39.357528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:17:39.358995"], ["updated_at", "2015-05-14 15:17:39.358995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:17:39.360380"], ["updated_at", "2015-05-14 15:17:39.360380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:17:39.362587"], ["updated_at", "2015-05-14 15:17:39.362587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:17:39.385224"], ["updated_at", "2015-05-14 15:17:39.385224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:17:39.395733"], ["updated_at", "2015-05-14 15:17:39.395733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 15:17:39.413166"], ["updated_at", "2015-05-14 15:17:39.413166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:17:39.415235"], ["updated_at", "2015-05-14 15:17:39.415235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 15:17:39.416098"], ["current_period_start", "2015-05-14 15:17:39.416098"], ["current_period_end", "2015-06-14 15:17:39.416098"], ["created_at", "2015-05-14 15:17:39.421907"], ["updated_at", "2015-05-14 15:17:39.421907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 15:30:04.425933"], ["updated_at", "2015-05-14 15:30:04.425933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:30:04.439221"], ["updated_at", "2015-05-14 15:30:04.439221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 15:30:04.440394"], ["current_period_start", "2015-05-14 15:30:04.440394"], ["current_period_end", "2015-06-14 15:30:04.440394"], ["created_at", "2015-05-14 15:30:04.449073"], ["updated_at", "2015-05-14 15:30:04.449073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:30:04.453821"], ["updated_at", "2015-05-14 15:30:04.453821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:30:04.460369"], ["updated_at", "2015-05-14 15:30:04.460369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:30:04.479100"], ["updated_at", "2015-05-14 15:30:04.479100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:30:04.480729"], ["updated_at", "2015-05-14 15:30:04.480729"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:30:04.482844"], ["updated_at", "2015-05-14 15:30:04.482844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:30:04.488919"], ["updated_at", "2015-05-14 15:30:04.488919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:30:04.490766"], ["updated_at", "2015-05-14 15:30:04.490766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:30:04.492349"], ["updated_at", "2015-05-14 15:30:04.492349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:30:04.498281"], ["updated_at", "2015-05-14 15:30:04.498281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:30:12.998331"], ["updated_at", "2015-05-14 15:30:12.998331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:30:13.004256"], ["updated_at", "2015-05-14 15:30:13.004256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 15:30:13.009105"], ["updated_at", "2015-05-14 15:30:13.009105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 15:30:13.009954"], ["updated_at", "2015-05-14 15:30:13.010245"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:30:13.018623"], ["updated_at", "2015-05-14 15:30:13.018623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:30:13.042384"], ["updated_at", "2015-05-14 15:30:13.042384"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:30:13.043891"], ["updated_at", "2015-05-14 15:30:13.043891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:30:13.045388"], ["updated_at", "2015-05-14 15:30:13.045388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:30:13.050287"], ["updated_at", "2015-05-14 15:30:13.050287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:30:13.051985"], ["updated_at", "2015-05-14 15:30:13.051985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:30:13.053816"], ["updated_at", "2015-05-14 15:30:13.053816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 15:30:13.059909"], ["updated_at", "2015-05-14 15:30:13.059909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:30:13.061919"], ["updated_at", "2015-05-14 15:30:13.061919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 15:30:13.062740"], ["current_period_start", "2015-05-14 15:30:13.062740"], ["current_period_end", "2015-06-14 15:30:13.062740"], ["created_at", "2015-05-14 15:30:13.064201"], ["updated_at", "2015-05-14 15:30:13.064201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:31:10.364463"], ["updated_at", "2015-05-14 15:31:10.364463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:31:10.368950"], ["updated_at", "2015-05-14 15:31:10.368950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:31:10.370674"], ["updated_at", "2015-05-14 15:31:10.370674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:31:10.372311"], ["updated_at", "2015-05-14 15:31:10.372311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:31:10.379427"], ["updated_at", "2015-05-14 15:31:10.379427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:31:10.381346"], ["updated_at", "2015-05-14 15:31:10.381346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:31:10.382943"], ["updated_at", "2015-05-14 15:31:10.382943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 15:31:10.384585"], ["created_at", "2015-05-14 15:31:10.391003"], ["updated_at", "2015-05-14 15:31:10.391003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 15:31:10.394127"], ["updated_at", "2015-05-14 15:31:10.394127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 15:31:10.395160"], ["updated_at", "2015-05-14 15:31:10.395486"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 15:31:10.400465"], ["updated_at", "2015-05-14 15:31:10.400465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:31:10.402510"], ["updated_at", "2015-05-14 15:31:10.402510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 15:31:10.403331"], ["current_period_start", "2015-05-14 15:31:10.403331"], ["current_period_end", "2015-06-14 15:31:10.403331"], ["created_at", "2015-05-14 15:31:10.407334"], ["updated_at", "2015-05-14 15:31:10.407334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:31:10.411727"], ["updated_at", "2015-05-14 15:31:10.411727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:31:10.436405"], ["updated_at", "2015-05-14 15:31:10.436405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 15:31:26.856172"], ["created_at", "2015-05-14 15:31:26.865357"], ["updated_at", "2015-05-14 15:31:26.865357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 15:31:26.870549"], ["updated_at", "2015-05-14 15:31:26.870549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 15:31:26.871488"], ["updated_at", "2015-05-14 15:31:26.871785"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 15:31:26.877739"], ["updated_at", "2015-05-14 15:31:26.877739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:31:26.888855"], ["updated_at", "2015-05-14 15:31:26.888855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 15:31:26.890081"], ["current_period_start", "2015-05-14 15:31:26.890081"], ["current_period_end", "2015-06-14 15:31:26.890081"], ["created_at", "2015-05-14 15:31:26.894768"], ["updated_at", "2015-05-14 15:31:26.894768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:31:26.917094"], ["updated_at", "2015-05-14 15:31:26.917094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:31:26.920007"], ["updated_at", "2015-05-14 15:31:26.920007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:31:26.927206"], ["updated_at", "2015-05-14 15:31:26.927206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:31:26.944534"], ["updated_at", "2015-05-14 15:31:26.944534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:31:26.946550"], ["updated_at", "2015-05-14 15:31:26.946550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:31:26.948216"], ["updated_at", "2015-05-14 15:31:26.948216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:31:26.952839"], ["updated_at", "2015-05-14 15:31:26.952839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:31:26.954328"], ["updated_at", "2015-05-14 15:31:26.954328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:31:26.955665"], ["updated_at", "2015-05-14 15:31:26.955665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 15:44:06.937597"], ["updated_at", "2015-05-14 15:44:06.937597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:44:06.950713"], ["updated_at", "2015-05-14 15:44:06.950713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 15:44:06.951859"], ["current_period_start", "2015-05-14 15:44:06.951859"], ["current_period_end", "2015-06-14 15:44:06.951859"], ["created_at", "2015-05-14 15:44:06.960607"], ["updated_at", "2015-05-14 15:44:06.960607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 15:44:06.965679"], ["created_at", "2015-05-14 15:44:06.967637"], ["updated_at", "2015-05-14 15:44:06.967637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 15:44:06.969995"], ["updated_at", "2015-05-14 15:44:06.969995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 15:44:06.970803"], ["updated_at", "2015-05-14 15:44:06.971152"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:44:06.992070"], ["updated_at", "2015-05-14 15:44:06.992070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:44:07.002046"], ["updated_at", "2015-05-14 15:44:07.002046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 15:44:07.003661"], ["updated_at", "2015-05-14 15:44:07.003661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:44:07.005369"], ["updated_at", "2015-05-14 15:44:07.005369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:44:07.009632"], ["updated_at", "2015-05-14 15:44:07.009632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 15:44:07.011153"], ["updated_at", "2015-05-14 15:44:07.011153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:44:07.012586"], ["updated_at", "2015-05-14 15:44:07.012586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:44:07.038305"], ["updated_at", "2015-05-14 15:44:07.038305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 15:44:07.041062"], ["updated_at", "2015-05-14 15:44:07.041062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 16:29:13.919927"], ["created_at", "2015-05-14 16:29:13.929961"], ["updated_at", "2015-05-14 16:29:13.929961"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 16:29:13.933974"], ["updated_at", "2015-05-14 16:29:13.933974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 16:29:13.935233"], ["updated_at", "2015-05-14 16:29:13.935572"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 16:29:13.941515"], ["updated_at", "2015-05-14 16:29:13.941515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 16:29:13.953220"], ["updated_at", "2015-05-14 16:29:13.953220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 16:29:13.954308"], ["current_period_start", "2015-05-14 16:29:13.954308"], ["current_period_end", "2015-06-14 16:29:13.954308"], ["created_at", "2015-05-14 16:29:13.958215"], ["updated_at", "2015-05-14 16:29:13.958215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 16:29:13.963316"], ["updated_at", "2015-05-14 16:29:13.963316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 16:29:13.965943"], ["updated_at", "2015-05-14 16:29:13.965943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 16:29:13.983866"], ["updated_at", "2015-05-14 16:29:13.983866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 16:29:13.985466"], ["updated_at", "2015-05-14 16:29:13.985466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 16:29:13.986868"], ["updated_at", "2015-05-14 16:29:13.986868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 16:29:13.992559"], ["updated_at", "2015-05-14 16:29:13.992559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 16:29:13.994066"], ["updated_at", "2015-05-14 16:29:13.994066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 16:29:13.995553"], ["updated_at", "2015-05-14 16:29:13.995553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 16:29:14.006283"], ["updated_at", "2015-05-14 16:29:14.006283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:25:25.430860"], ["updated_at", "2015-05-14 17:25:25.430860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:25:25.439018"], ["updated_at", "2015-05-14 17:25:25.439018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 17:25:25.441615"], ["created_at", "2015-05-14 17:25:25.442701"], ["updated_at", "2015-05-14 17:25:25.442701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 17:25:25.444829"], ["updated_at", "2015-05-14 17:25:25.444829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 17:25:25.445605"], ["updated_at", "2015-05-14 17:25:25.445883"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 17:25:25.452637"], ["updated_at", "2015-05-14 17:25:25.452637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:25:25.454760"], ["updated_at", "2015-05-14 17:25:25.454760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 17:25:25.455652"], ["current_period_start", "2015-05-14 17:25:25.455652"], ["current_period_end", "2015-06-14 17:25:25.455652"], ["created_at", "2015-05-14 17:25:25.457168"], ["updated_at", "2015-05-14 17:25:25.457168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:25:25.463785"], ["updated_at", "2015-05-14 17:25:25.463785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 17:25:25.483964"], ["updated_at", "2015-05-14 17:25:25.483964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 17:25:25.485871"], ["updated_at", "2015-05-14 17:25:25.485871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:25:25.487410"], ["updated_at", "2015-05-14 17:25:25.487410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 17:25:25.497494"], ["updated_at", "2015-05-14 17:25:25.497494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 17:25:25.499095"], ["updated_at", "2015-05-14 17:25:25.499095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:25:25.500621"], ["updated_at", "2015-05-14 17:25:25.500621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:25:54.052452"], ["updated_at", "2015-05-14 17:25:54.052452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:25:54.060460"], ["updated_at", "2015-05-14 17:25:54.060460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 17:25:54.064412"], ["updated_at", "2015-05-14 17:25:54.064412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 17:25:54.065339"], ["updated_at", "2015-05-14 17:25:54.065602"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 17:25:54.068930"], ["created_at", "2015-05-14 17:25:54.069903"], ["updated_at", "2015-05-14 17:25:54.069903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:25:54.072280"], ["updated_at", "2015-05-14 17:25:54.072280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 17:25:54.096175"], ["updated_at", "2015-05-14 17:25:54.096175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 17:25:54.098012"], ["updated_at", "2015-05-14 17:25:54.098012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:25:54.099590"], ["updated_at", "2015-05-14 17:25:54.099590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 17:25:54.103954"], ["updated_at", "2015-05-14 17:25:54.103954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 17:25:54.107030"], ["updated_at", "2015-05-14 17:25:54.107030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:25:54.109038"], ["updated_at", "2015-05-14 17:25:54.109038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 17:25:54.118259"], ["updated_at", "2015-05-14 17:25:54.118259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:25:54.120080"], ["updated_at", "2015-05-14 17:25:54.120080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 17:25:54.120759"], ["current_period_start", "2015-05-14 17:25:54.120759"], ["current_period_end", "2015-06-14 17:25:54.120759"], ["created_at", "2015-05-14 17:25:54.121952"], ["updated_at", "2015-05-14 17:25:54.121952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 17:55:49.598662"], ["updated_at", "2015-05-14 17:55:49.598662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:55:49.611768"], ["updated_at", "2015-05-14 17:55:49.611768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 17:55:49.612941"], ["current_period_start", "2015-05-14 17:55:49.612941"], ["current_period_end", "2015-06-14 17:55:49.612941"], ["created_at", "2015-05-14 17:55:49.622336"], ["updated_at", "2015-05-14 17:55:49.622336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 17:55:49.626680"], ["updated_at", "2015-05-14 17:55:49.626680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 17:55:49.628457"], ["updated_at", "2015-05-14 17:55:49.628457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:55:49.630151"], ["updated_at", "2015-05-14 17:55:49.630151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:55:49.656893"], ["updated_at", "2015-05-14 17:55:49.656893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 17:55:49.661775"], ["updated_at", "2015-05-14 17:55:49.661775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 17:55:49.663191"], ["updated_at", "2015-05-14 17:55:49.663191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:55:49.664500"], ["updated_at", "2015-05-14 17:55:49.664500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 17:55:49.667559"], ["updated_at", "2015-05-14 17:55:49.667559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 17:55:49.668366"], ["updated_at", "2015-05-14 17:55:49.668639"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 17:55:49.670310"], ["created_at", "2015-05-14 17:55:49.671822"], ["updated_at", "2015-05-14 17:55:49.671822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:55:49.674375"], ["updated_at", "2015-05-14 17:55:49.674375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 17:55:49.696524"], ["updated_at", "2015-05-14 17:55:49.696524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:36:56.186906"], ["created_at", "2015-05-14 21:36:56.201643"], ["updated_at", "2015-05-14 21:36:56.201643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:36:56.206510"], ["updated_at", "2015-05-14 21:36:56.206510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:36:56.207554"], ["updated_at", "2015-05-14 21:36:56.207910"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:36:56.220329"], ["updated_at", "2015-05-14 21:36:56.220329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:36:56.233965"], ["updated_at", "2015-05-14 21:36:56.233965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:36:56.235168"], ["current_period_start", "2015-05-14 21:36:56.235168"], ["current_period_end", "2015-06-14 21:36:56.235168"], ["created_at", "2015-05-14 21:36:56.239555"], ["updated_at", "2015-05-14 21:36:56.239555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:37:20.262966"], ["created_at", "2015-05-14 21:37:20.277916"], ["updated_at", "2015-05-14 21:37:20.277916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:37:20.282818"], ["updated_at", "2015-05-14 21:37:20.282818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:37:20.283863"], ["updated_at", "2015-05-14 21:37:20.284219"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:37:20.298085"], ["updated_at", "2015-05-14 21:37:20.298085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:37:20.311798"], ["updated_at", "2015-05-14 21:37:20.311798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:37:20.313019"], ["current_period_start", "2015-05-14 21:37:20.313019"], ["current_period_end", "2015-06-14 21:37:20.313019"], ["created_at", "2015-05-14 21:37:20.317507"], ["updated_at", "2015-05-14 21:37:20.317507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:37:33.389963"], ["updated_at", "2015-05-14 21:37:33.389963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:37:33.405388"], ["updated_at", "2015-05-14 21:37:33.405388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:37:33.406682"], ["current_period_start", "2015-05-14 21:37:33.406682"], ["current_period_end", "2015-06-14 21:37:33.406682"], ["created_at", "2015-05-14 21:37:33.418448"], ["updated_at", "2015-05-14 21:37:33.418448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:37:33.423685"], ["updated_at", "2015-05-14 21:37:33.423685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:37:33.424796"], ["updated_at", "2015-05-14 21:37:33.425151"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:37:33.428802"], ["created_at", "2015-05-14 21:37:33.429912"], ["updated_at", "2015-05-14 21:37:33.429912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:38:36.935545"], ["updated_at", "2015-05-14 21:38:36.935545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:38:36.950734"], ["updated_at", "2015-05-14 21:38:36.950734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:38:36.952035"], ["current_period_start", "2015-05-14 21:38:36.952035"], ["current_period_end", "2015-06-14 21:38:36.952035"], ["created_at", "2015-05-14 21:38:36.963665"], ["updated_at", "2015-05-14 21:38:36.963665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:38:36.966867"], ["created_at", "2015-05-14 21:38:36.969167"], ["updated_at", "2015-05-14 21:38:36.969167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:38:36.971841"], ["updated_at", "2015-05-14 21:38:36.971841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:38:36.973072"], ["updated_at", "2015-05-14 21:38:36.973508"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:38:53.431477"], ["updated_at", "2015-05-14 21:38:53.431477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:38:53.434129"], ["updated_at", "2015-05-14 21:38:53.434129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:38:53.436028"], ["updated_at", "2015-05-14 21:38:53.436028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (6.7ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:38:53.443801"], ["updated_at", "2015-05-14 21:38:53.443801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:38:53.452819"], ["updated_at", "2015-05-14 21:38:53.452819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:38:53.454710"], ["updated_at", "2015-05-14 21:38:53.454710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:38:53.477890"], ["updated_at", "2015-05-14 21:38:53.477890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:38:53.490788"], ["updated_at", "2015-05-14 21:38:53.490788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:38:53.493060"], ["updated_at", "2015-05-14 21:38:53.493060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:38:53.494002"], ["current_period_start", "2015-05-14 21:38:53.494002"], ["current_period_end", "2015-06-14 21:38:53.494002"], ["created_at", "2015-05-14 21:38:53.503470"], ["updated_at", "2015-05-14 21:38:53.503470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:38:53.507596"], ["created_at", "2015-05-14 21:38:53.509713"], ["updated_at", "2015-05-14 21:38:53.509713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:38:53.512234"], ["updated_at", "2015-05-14 21:38:53.512234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:38:53.513280"], ["updated_at", "2015-05-14 21:38:53.513632"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:38:53.517051"], ["updated_at", "2015-05-14 21:38:53.517051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:38:53.522772"], ["updated_at", "2015-05-14 21:38:53.522772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.7ms) rollback transaction  (0.5ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:39:24.513753"], ["created_at", "2015-05-14 21:39:24.550501"], ["updated_at", "2015-05-14 21:39:24.550501"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:39:24.575998"], ["updated_at", "2015-05-14 21:39:24.575998"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:39:24.588434"], ["updated_at", "2015-05-14 21:39:24.591339"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:39:24.722399"], ["updated_at", "2015-05-14 21:39:24.722399"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.4ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.2ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:39:24.944102"], ["updated_at", "2015-05-14 21:39:24.944102"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:39:24.961138"], ["updated_at", "2015-05-14 21:39:24.961138"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:39:24.981467"], ["updated_at", "2015-05-14 21:39:24.981467"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:39:25.015401"], ["updated_at", "2015-05-14 21:39:25.015401"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:39:25.035959"], ["updated_at", "2015-05-14 21:39:25.035959"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:39:25.055901"], ["updated_at", "2015-05-14 21:39:25.055901"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.4ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:39:25.087173"], ["updated_at", "2015-05-14 21:39:25.087173"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:39:25.106032"], ["updated_at", "2015-05-14 21:39:25.106032"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:39:25.114986"], ["current_period_start", "2015-05-14 21:39:25.114986"], ["current_period_end", "2015-06-14 21:39:25.114986"], ["created_at", "2015-05-14 21:39:25.131895"], ["updated_at", "2015-05-14 21:39:25.131895"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:39:25.195161"], ["updated_at", "2015-05-14 21:39:25.195161"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:39:25.354549"], ["updated_at", "2015-05-14 21:39:25.354549"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:40:50.258586"], ["updated_at", "2015-05-14 21:40:50.258586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:40:50.273778"], ["updated_at", "2015-05-14 21:40:50.273778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:40:50.275132"], ["current_period_start", "2015-05-14 21:40:50.275132"], ["current_period_end", "2015-06-14 21:40:50.275132"], ["created_at", "2015-05-14 21:40:50.292142"], ["updated_at", "2015-05-14 21:40:50.292142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:40:50.298629"], ["updated_at", "2015-05-14 21:40:50.298629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:40:50.303095"], ["updated_at", "2015-05-14 21:40:50.303095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:40:50.326444"], ["updated_at", "2015-05-14 21:40:50.326444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:40:50.328345"], ["updated_at", "2015-05-14 21:40:50.328345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:40:50.330169"], ["updated_at", "2015-05-14 21:40:50.330169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:40:50.336913"], ["updated_at", "2015-05-14 21:40:50.336913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:40:50.339204"], ["updated_at", "2015-05-14 21:40:50.339204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:40:50.341086"], ["updated_at", "2015-05-14 21:40:50.341086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:40:50.362698"], ["updated_at", "2015-05-14 21:40:50.362698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:40:50.370706"], ["created_at", "2015-05-14 21:40:50.371974"], ["updated_at", "2015-05-14 21:40:50.371974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:40:50.374615"], ["updated_at", "2015-05-14 21:40:50.374615"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:40:50.375695"], ["updated_at", "2015-05-14 21:40:50.376064"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.5ms) rollback transaction  (0.5ms) begin transaction  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:41:25.624945"], ["updated_at", "2015-05-14 21:41:25.624945"]]  (3.9ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:41:25.640282"], ["updated_at", "2015-05-14 21:41:25.643254"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:41:25.655227"], ["created_at", "2015-05-14 21:41:25.666683"], ["updated_at", "2015-05-14 21:41:25.666683"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:41:25.881176"], ["updated_at", "2015-05-14 21:41:25.881176"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:41:25.938062"], ["updated_at", "2015-05-14 21:41:25.938062"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (3.5ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:41:25.988806"], ["updated_at", "2015-05-14 21:41:25.988806"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.4ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (4.0ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (3.8ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.3ms) rollback transaction  (3.8ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:41:26.264951"], ["updated_at", "2015-05-14 21:41:26.264951"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:41:26.286298"], ["updated_at", "2015-05-14 21:41:26.286298"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:41:26.307056"], ["updated_at", "2015-05-14 21:41:26.307056"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (4.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:41:26.338309"], ["updated_at", "2015-05-14 21:41:26.338309"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:41:26.359439"], ["updated_at", "2015-05-14 21:41:26.359439"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:41:26.380115"], ["updated_at", "2015-05-14 21:41:26.380115"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:41:26.417800"], ["updated_at", "2015-05-14 21:41:26.417800"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:41:26.437308"], ["updated_at", "2015-05-14 21:41:26.437308"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:41:26.445714"], ["current_period_start", "2015-05-14 21:41:26.445714"], ["current_period_end", "2015-06-14 21:41:26.445714"], ["created_at", "2015-05-14 21:41:26.458873"], ["updated_at", "2015-05-14 21:41:26.458873"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:41:42.382033"], ["created_at", "2015-05-14 21:41:42.394587"], ["updated_at", "2015-05-14 21:41:42.394587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:41:42.399545"], ["updated_at", "2015-05-14 21:41:42.399545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:41:42.400675"], ["updated_at", "2015-05-14 21:41:42.401042"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:41:42.409064"], ["updated_at", "2015-05-14 21:41:42.409064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:41:42.428229"], ["updated_at", "2015-05-14 21:41:42.428229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:41:42.429454"], ["current_period_start", "2015-05-14 21:41:42.429454"], ["current_period_end", "2015-06-14 21:41:42.429454"], ["created_at", "2015-05-14 21:41:42.433857"], ["updated_at", "2015-05-14 21:41:42.433857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:41:42.462860"], ["updated_at", "2015-05-14 21:41:42.462860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:41:42.466592"], ["updated_at", "2015-05-14 21:41:42.466592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:41:42.468746"], ["updated_at", "2015-05-14 21:41:42.468746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:41:42.470882"], ["updated_at", "2015-05-14 21:41:42.470882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:41:42.476214"], ["updated_at", "2015-05-14 21:41:42.476214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:41:42.478126"], ["updated_at", "2015-05-14 21:41:42.478126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:41:42.479910"], ["updated_at", "2015-05-14 21:41:42.479910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:41:43.057239"], ["updated_at", "2015-05-14 21:41:43.057239"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:41:43.239428"], ["updated_at", "2015-05-14 21:41:43.239428"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction  (0.5ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:44:04.495393"], ["updated_at", "2015-05-14 21:44:04.495393"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:44:04.510602"], ["updated_at", "2015-05-14 21:44:04.513611"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:44:04.525668"], ["created_at", "2015-05-14 21:44:04.537085"], ["updated_at", "2015-05-14 21:44:04.537085"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:44:04.592809"], ["updated_at", "2015-05-14 21:44:04.592809"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:44:04.613979"], ["updated_at", "2015-05-14 21:44:04.613979"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:44:04.634461"], ["updated_at", "2015-05-14 21:44:04.634461"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.4ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (3.6ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:44:04.835869"], ["updated_at", "2015-05-14 21:44:04.835869"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.4ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:44:04.974407"], ["updated_at", "2015-05-14 21:44:04.974407"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:44:04.995189"], ["updated_at", "2015-05-14 21:44:04.995189"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:44:05.015640"], ["updated_at", "2015-05-14 21:44:05.015640"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.4ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:44:05.048801"], ["updated_at", "2015-05-14 21:44:05.048801"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:44:05.069154"], ["updated_at", "2015-05-14 21:44:05.069154"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:44:05.082101"], ["current_period_start", "2015-05-14 21:44:05.082101"], ["current_period_end", "2015-06-14 21:44:05.082101"], ["created_at", "2015-05-14 21:44:05.096174"], ["updated_at", "2015-05-14 21:44:05.096174"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:44:05.142296"], ["updated_at", "2015-05-14 21:44:05.142296"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:44:05.313065"], ["updated_at", "2015-05-14 21:44:05.313065"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.7ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.6ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:44:35.999046"], ["updated_at", "2015-05-14 21:44:35.999046"]]  (3.7ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:44:36.039455"], ["updated_at", "2015-05-14 21:44:36.039455"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:44:36.089384"], ["updated_at", "2015-05-14 21:44:36.089384"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:44:36.108176"], ["updated_at", "2015-05-14 21:44:36.108176"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:44:36.116769"], ["current_period_start", "2015-05-14 21:44:36.116769"], ["current_period_end", "2015-06-14 21:44:36.116769"], ["created_at", "2015-05-14 21:44:36.129808"], ["updated_at", "2015-05-14 21:44:36.129808"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:44:36.155028"], ["updated_at", "2015-05-14 21:44:36.155028"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:44:36.163545"], ["updated_at", "2015-05-14 21:44:36.166748"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:44:36.182275"], ["created_at", "2015-05-14 21:44:36.189506"], ["updated_at", "2015-05-14 21:44:36.189506"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:44:36.219035"], ["updated_at", "2015-05-14 21:44:36.219035"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:44:36.239590"], ["updated_at", "2015-05-14 21:44:36.239590"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:44:36.256166"], ["updated_at", "2015-05-14 21:44:36.256166"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.4ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:44:36.487664"], ["updated_at", "2015-05-14 21:44:36.487664"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:44:36.557484"], ["updated_at", "2015-05-14 21:44:36.557484"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:44:36.578412"], ["updated_at", "2015-05-14 21:44:36.578412"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:44:36.598978"], ["updated_at", "2015-05-14 21:44:36.598978"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:45:22.421572"], ["updated_at", "2015-05-14 21:45:22.421572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:45:22.436394"], ["updated_at", "2015-05-14 21:45:22.436394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:45:22.437743"], ["current_period_start", "2015-05-14 21:45:22.437743"], ["current_period_end", "2015-06-14 21:45:22.437743"], ["created_at", "2015-05-14 21:45:22.454476"], ["updated_at", "2015-05-14 21:45:22.454476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:45:22.461044"], ["updated_at", "2015-05-14 21:45:22.461044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:45:22.463005"], ["updated_at", "2015-05-14 21:45:22.463005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:45:22.464840"], ["updated_at", "2015-05-14 21:45:22.464840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:45:22.472358"], ["updated_at", "2015-05-14 21:45:22.472358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:45:22.474302"], ["updated_at", "2015-05-14 21:45:22.474302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:45:22.476101"], ["updated_at", "2015-05-14 21:45:22.476101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:45:22.485460"], ["updated_at", "2015-05-14 21:45:22.485460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:45:22.507974"], ["created_at", "2015-05-14 21:45:22.510148"], ["updated_at", "2015-05-14 21:45:22.510148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:45:22.512756"], ["updated_at", "2015-05-14 21:45:22.512756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:45:22.513726"], ["updated_at", "2015-05-14 21:45:22.514077"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:45:22.517405"], ["updated_at", "2015-05-14 21:45:22.517405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:45:22.520863"], ["updated_at", "2015-05-14 21:45:22.520863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:45:52.000988"], ["updated_at", "2015-05-14 21:45:52.000988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:45:52.003789"], ["updated_at", "2015-05-14 21:45:52.004189"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:45:52.008453"], ["created_at", "2015-05-14 21:45:52.009716"], ["updated_at", "2015-05-14 21:45:52.009716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:45:52.015530"], ["updated_at", "2015-05-14 21:45:52.015530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:45:52.034578"], ["updated_at", "2015-05-14 21:45:52.034578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:45:52.035782"], ["current_period_start", "2015-05-14 21:45:52.035782"], ["current_period_end", "2015-06-14 21:45:52.035782"], ["created_at", "2015-05-14 21:45:52.040638"], ["updated_at", "2015-05-14 21:45:52.040638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:45:52.063704"], ["updated_at", "2015-05-14 21:45:52.063704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:45:52.067186"], ["updated_at", "2015-05-14 21:45:52.067186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:45:52.087905"], ["updated_at", "2015-05-14 21:45:52.087905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:45:52.098074"], ["updated_at", "2015-05-14 21:45:52.098074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:45:52.099932"], ["updated_at", "2015-05-14 21:45:52.099932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:45:52.102116"], ["updated_at", "2015-05-14 21:45:52.102116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:45:52.107599"], ["updated_at", "2015-05-14 21:45:52.107599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:45:52.109541"], ["updated_at", "2015-05-14 21:45:52.109541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:45:52.111400"], ["updated_at", "2015-05-14 21:45:52.111400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:46:00.471608"], ["updated_at", "2015-05-14 21:46:00.471608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:46:00.474562"], ["updated_at", "2015-05-14 21:46:00.474993"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:46:00.486076"], ["created_at", "2015-05-14 21:46:00.487406"], ["updated_at", "2015-05-14 21:46:00.487406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:46:00.494902"], ["updated_at", "2015-05-14 21:46:00.494902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:46:00.507330"], ["updated_at", "2015-05-14 21:46:00.507330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:46:00.508542"], ["current_period_start", "2015-05-14 21:46:00.508542"], ["current_period_end", "2015-06-14 21:46:00.508542"], ["created_at", "2015-05-14 21:46:00.513032"], ["updated_at", "2015-05-14 21:46:00.513032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:46:00.519263"], ["updated_at", "2015-05-14 21:46:00.519263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:46:00.539788"], ["updated_at", "2015-05-14 21:46:00.539788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:46:00.543403"], ["updated_at", "2015-05-14 21:46:00.543403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:46:00.545472"], ["updated_at", "2015-05-14 21:46:00.545472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:46:00.547541"], ["updated_at", "2015-05-14 21:46:00.547541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:46:00.573418"], ["updated_at", "2015-05-14 21:46:00.573418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:46:00.580819"], ["updated_at", "2015-05-14 21:46:00.580819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:46:00.582746"], ["updated_at", "2015-05-14 21:46:00.582746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:46:00.584608"], ["updated_at", "2015-05-14 21:46:00.584608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:48:18.016412"], ["updated_at", "2015-05-14 21:48:18.016412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:48:18.030955"], ["updated_at", "2015-05-14 21:48:18.030955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:48:18.032216"], ["current_period_start", "2015-05-14 21:48:18.032216"], ["current_period_end", "2015-06-14 21:48:18.032216"], ["created_at", "2015-05-14 21:48:18.048716"], ["updated_at", "2015-05-14 21:48:18.048716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:48:18.058561"], ["updated_at", "2015-05-14 21:48:18.058561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:48:18.062113"], ["updated_at", "2015-05-14 21:48:18.062113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:48:18.083723"], ["created_at", "2015-05-14 21:48:18.084811"], ["updated_at", "2015-05-14 21:48:18.084811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:48:18.087412"], ["updated_at", "2015-05-14 21:48:18.087412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:48:18.088447"], ["updated_at", "2015-05-14 21:48:18.088819"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:48:18.092955"], ["updated_at", "2015-05-14 21:48:18.092955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:48:21.866487"], ["updated_at", "2015-05-14 21:48:21.866487"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:48:21.888039"], ["updated_at", "2015-05-14 21:48:21.888039"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:48:21.908600"], ["updated_at", "2015-05-14 21:48:21.908600"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.4ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:48:21.939579"], ["updated_at", "2015-05-14 21:48:21.939579"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:48:21.960705"], ["updated_at", "2015-05-14 21:48:21.960705"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:48:21.981084"], ["updated_at", "2015-05-14 21:48:21.981084"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:48:22.080576"], ["updated_at", "2015-05-14 21:48:22.080576"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:48:38.942847"], ["updated_at", "2015-05-14 21:48:38.942847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:48:38.945748"], ["updated_at", "2015-05-14 21:48:38.946168"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:48:38.957169"], ["created_at", "2015-05-14 21:48:38.958466"], ["updated_at", "2015-05-14 21:48:38.958466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:48:38.965450"], ["updated_at", "2015-05-14 21:48:38.965450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:48:38.989393"], ["updated_at", "2015-05-14 21:48:38.989393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:48:39.012351"], ["updated_at", "2015-05-14 21:48:39.012351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:48:39.015476"], ["updated_at", "2015-05-14 21:48:39.015476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:48:39.017749"], ["updated_at", "2015-05-14 21:48:39.017749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:48:39.018772"], ["current_period_start", "2015-05-14 21:48:39.018772"], ["current_period_end", "2015-06-14 21:48:39.018772"], ["created_at", "2015-05-14 21:48:39.020345"], ["updated_at", "2015-05-14 21:48:39.020345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:48:39.023783"], ["updated_at", "2015-05-14 21:48:39.023783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:48:39.025730"], ["updated_at", "2015-05-14 21:48:39.025730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:48:39.027527"], ["updated_at", "2015-05-14 21:48:39.027527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:48:39.045304"], ["updated_at", "2015-05-14 21:48:39.045304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:48:39.059395"], ["updated_at", "2015-05-14 21:48:39.059395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:48:39.061359"], ["updated_at", "2015-05-14 21:48:39.061359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:48:39.063267"], ["updated_at", "2015-05-14 21:48:39.063267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:49:36.653794"], ["updated_at", "2015-05-14 21:49:36.653794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:49:36.656508"], ["updated_at", "2015-05-14 21:49:36.656508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:49:36.658628"], ["updated_at", "2015-05-14 21:49:36.658628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:49:36.665959"], ["updated_at", "2015-05-14 21:49:36.665959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:49:36.667926"], ["updated_at", "2015-05-14 21:49:36.667926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:49:36.669887"], ["updated_at", "2015-05-14 21:49:36.669887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:49:36.673067"], ["updated_at", "2015-05-14 21:49:36.673067"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:49:36.711571"], ["updated_at", "2015-05-14 21:49:36.711571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:49:36.718959"], ["updated_at", "2015-05-14 21:49:36.718959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:49:36.739278"], ["updated_at", "2015-05-14 21:49:36.739278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:49:36.741273"], ["updated_at", "2015-05-14 21:49:36.741273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:49:36.752925"], ["updated_at", "2015-05-14 21:49:36.752925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:49:36.755271"], ["updated_at", "2015-05-14 21:49:36.755271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:49:36.756251"], ["current_period_start", "2015-05-14 21:49:36.756251"], ["current_period_end", "2015-06-14 21:49:36.756251"], ["created_at", "2015-05-14 21:49:36.757890"], ["updated_at", "2015-05-14 21:49:36.757890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:49:36.760470"], ["created_at", "2015-05-14 21:49:36.761568"], ["updated_at", "2015-05-14 21:49:36.761568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:49:36.764118"], ["updated_at", "2015-05-14 21:49:36.764118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:49:36.765152"], ["updated_at", "2015-05-14 21:49:36.765520"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:50:22.667480"], ["updated_at", "2015-05-14 21:50:22.667480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:50:22.699322"], ["updated_at", "2015-05-14 21:50:22.699322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:50:22.702884"], ["updated_at", "2015-05-14 21:50:22.702884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:50:22.704789"], ["updated_at", "2015-05-14 21:50:22.704789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:50:22.706592"], ["updated_at", "2015-05-14 21:50:22.706592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:50:22.713248"], ["updated_at", "2015-05-14 21:50:22.713248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:50:22.740204"], ["updated_at", "2015-05-14 21:50:22.740204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:50:22.742195"], ["updated_at", "2015-05-14 21:50:22.742195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:50:22.744033"], ["updated_at", "2015-05-14 21:50:22.744033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:50:22.750690"], ["updated_at", "2015-05-14 21:50:22.750690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:50:22.759288"], ["updated_at", "2015-05-14 21:50:22.759288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 21:50:22.459201"], ["owner_id", 1], ["created_at", "2015-05-14 21:50:22.762677"], ["updated_at", "2015-05-14 21:50:22.762677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:50:22.768593"], ["updated_at", "2015-05-14 21:50:22.768593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:50:22.769703"], ["updated_at", "2015-05-14 21:50:22.770071"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:50:22.772665"], ["created_at", "2015-05-14 21:50:22.773808"], ["updated_at", "2015-05-14 21:50:22.773808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:50:22.775977"], ["updated_at", "2015-05-14 21:50:22.775977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:50:22.778215"], ["updated_at", "2015-05-14 21:50:22.778215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:50:22.779200"], ["current_period_start", "2015-05-14 21:50:22.779200"], ["current_period_end", "2015-06-14 21:50:22.779200"], ["created_at", "2015-05-14 21:50:22.780047"], ["updated_at", "2015-05-14 21:50:22.780047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:52:21.141457"], ["updated_at", "2015-05-14 21:52:21.141457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:52:21.144391"], ["updated_at", "2015-05-14 21:52:21.144815"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:52:21.155708"], ["created_at", "2015-05-14 21:52:21.157049"], ["updated_at", "2015-05-14 21:52:21.157049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:52:21.190303"], ["updated_at", "2015-05-14 21:52:21.190303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:52:21.202021"], ["updated_at", "2015-05-14 21:52:21.202021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:52:21.203884"], ["updated_at", "2015-05-14 21:52:21.203884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:52:21.205661"], ["updated_at", "2015-05-14 21:52:21.205661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:52:21.210658"], ["updated_at", "2015-05-14 21:52:21.210658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:52:21.212564"], ["updated_at", "2015-05-14 21:52:21.212564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:52:21.214370"], ["updated_at", "2015-05-14 21:52:21.214370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:52:21.219825"], ["updated_at", "2015-05-14 21:52:21.219825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:52:21.222201"], ["updated_at", "2015-05-14 21:52:21.222201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:52:21.223143"], ["current_period_start", "2015-05-14 21:52:21.223143"], ["current_period_end", "2015-06-14 21:52:21.223143"], ["created_at", "2015-05-14 21:52:21.227622"], ["updated_at", "2015-05-14 21:52:21.227622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:52:21.245176"], ["updated_at", "2015-05-14 21:52:21.245176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:52:21.249017"], ["updated_at", "2015-05-14 21:52:21.249017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:52:21.255380"], ["updated_at", "2015-05-14 21:52:21.255380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:52:21.263498"], ["updated_at", "2015-05-14 21:52:21.263498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 21:52:20.948224"], ["owner_id", 1], ["created_at", "2015-05-14 21:52:21.265799"], ["updated_at", "2015-05-14 21:52:21.265799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:52:21.268536"], ["updated_at", "2015-05-14 21:52:21.268536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 21:52:21.270743"], ["updated_at", "2015-05-14 21:52:21.270743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 21:53:50.442503"], ["created_at", "2015-05-14 21:53:50.455343"], ["updated_at", "2015-05-14 21:53:50.455343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 21:53:50.460709"], ["updated_at", "2015-05-14 21:53:50.460709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 21:53:50.468768"], ["updated_at", "2015-05-14 21:53:50.469423"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 21:53:50.480775"], ["updated_at", "2015-05-14 21:53:50.480775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:53:50.493266"], ["updated_at", "2015-05-14 21:53:50.493266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 21:53:50.494460"], ["current_period_start", "2015-05-14 21:53:50.494460"], ["current_period_end", "2015-06-14 21:53:50.494460"], ["created_at", "2015-05-14 21:53:50.499003"], ["updated_at", "2015-05-14 21:53:50.499003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:53:50.522695"], ["updated_at", "2015-05-14 21:53:50.522695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:53:50.526106"], ["updated_at", "2015-05-14 21:53:50.526106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:53:50.551891"], ["updated_at", "2015-05-14 21:53:50.551891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:53:50.557505"], ["updated_at", "2015-05-14 21:53:50.557505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 21:53:50.559471"], ["updated_at", "2015-05-14 21:53:50.559471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:53:50.561828"], ["updated_at", "2015-05-14 21:53:50.561828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:53:50.567417"], ["updated_at", "2015-05-14 21:53:50.567417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 21:53:50.570501"], ["updated_at", "2015-05-14 21:53:50.570501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 21:53:50.572980"], ["updated_at", "2015-05-14 21:53:50.572980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:53:50.577171"], ["updated_at", "2015-05-14 21:53:50.577171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:53:50.585313"], ["updated_at", "2015-05-14 21:53:50.585313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 21:53:50.261012"], ["owner_id", 1], ["created_at", "2015-05-14 21:53:50.587737"], ["updated_at", "2015-05-14 21:53:50.587737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:53:50.590911"], ["updated_at", "2015-05-14 21:53:50.590911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 21:53:50.593436"], ["updated_at", "2015-05-14 21:53:50.593436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:53:50.596513"], ["updated_at", "2015-05-14 21:53:50.596513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 21:53:50.261012"], ["owner_id", 1], ["created_at", "2015-05-14 21:53:50.598881"], ["updated_at", "2015-05-14 21:53:50.598881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 21:53:50.601796"], ["updated_at", "2015-05-14 21:53:50.601796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 21:53:50.603958"], ["updated_at", "2015-05-14 21:53:50.603958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:01:22.222747"], ["updated_at", "2015-05-14 22:01:22.222747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:01:22.080396"], ["owner_id", 1], ["created_at", "2015-05-14 22:01:22.233154"], ["updated_at", "2015-05-14 22:01:22.233154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:01:22.247199"], ["updated_at", "2015-05-14 22:01:22.247199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:01:22.249092"], ["updated_at", "2015-05-14 22:01:22.249092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:01:22.251771"], ["updated_at", "2015-05-14 22:01:22.251771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:01:22.253763"], ["updated_at", "2015-05-14 22:01:22.253763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:01:22.255562"], ["updated_at", "2015-05-14 22:01:22.255562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:01:22.258206"], ["updated_at", "2015-05-14 22:01:22.258206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:01:22.080396"], ["owner_id", 1], ["created_at", "2015-05-14 22:01:22.260305"], ["updated_at", "2015-05-14 22:01:22.260305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:01:22.262565"], ["updated_at", "2015-05-14 22:01:22.262565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:01:22.264526"], ["updated_at", "2015-05-14 22:01:22.264526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:01:22.276565"], ["updated_at", "2015-05-14 22:01:22.276565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:01:22.281850"], ["updated_at", "2015-05-14 22:01:22.281850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 22:01:22.295975"], ["updated_at", "2015-05-14 22:01:22.295975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:01:22.297633"], ["updated_at", "2015-05-14 22:01:22.297633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:01:22.298341"], ["current_period_start", "2015-05-14 22:01:22.298341"], ["current_period_end", "2015-06-14 22:01:22.298341"], ["created_at", "2015-05-14 22:01:22.298992"], ["updated_at", "2015-05-14 22:01:22.298992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:01:22.303152"], ["updated_at", "2015-05-14 22:01:22.303152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:01:22.305254"], ["updated_at", "2015-05-14 22:01:22.305254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:01:22.306946"], ["updated_at", "2015-05-14 22:01:22.306946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:01:22.311963"], ["updated_at", "2015-05-14 22:01:22.311963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:01:22.313462"], ["updated_at", "2015-05-14 22:01:22.313462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:01:22.314926"], ["updated_at", "2015-05-14 22:01:22.314926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:01:22.318277"], ["updated_at", "2015-05-14 22:01:22.318277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 22:01:22.337758"], ["created_at", "2015-05-14 22:01:22.339001"], ["updated_at", "2015-05-14 22:01:22.339001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 22:01:22.341119"], ["updated_at", "2015-05-14 22:01:22.341119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:01:22.341878"], ["updated_at", "2015-05-14 22:01:22.342147"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 22:02:30.476495"], ["updated_at", "2015-05-14 22:02:30.476495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:30.488542"], ["updated_at", "2015-05-14 22:02:30.488542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:02:30.489543"], ["current_period_start", "2015-05-14 22:02:30.489543"], ["current_period_end", "2015-06-14 22:02:30.489543"], ["created_at", "2015-05-14 22:02:30.503596"], ["updated_at", "2015-05-14 22:02:30.503596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:30.510223"], ["updated_at", "2015-05-14 22:02:30.510223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:30.525351"], ["updated_at", "2015-05-14 22:02:30.525351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:30.530133"], ["updated_at", "2015-05-14 22:02:30.530133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:02:30.532059"], ["updated_at", "2015-05-14 22:02:30.532059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:30.538993"], ["updated_at", "2015-05-14 22:02:30.538993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:02:30.540790"], ["updated_at", "2015-05-14 22:02:30.540790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-09 22:02:30.541627"], ["owner_id", 1], ["created_at", "2015-05-14 22:02:30.542591"], ["updated_at", "2015-05-14 22:02:30.542591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:30.544848"], ["updated_at", "2015-05-14 22:02:30.544848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:02:30.546361"], ["updated_at", "2015-05-14 22:02:30.546361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:30.548216"], ["updated_at", "2015-05-14 22:02:30.548216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:02:30.333400"], ["owner_id", 1], ["created_at", "2015-05-14 22:02:30.549728"], ["updated_at", "2015-05-14 22:02:30.549728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:30.552589"], ["updated_at", "2015-05-14 22:02:30.552589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:02:30.554059"], ["updated_at", "2015-05-14 22:02:30.554059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:30.555983"], ["updated_at", "2015-05-14 22:02:30.555983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:30.558259"], ["updated_at", "2015-05-14 22:02:30.558259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:02:30.333400"], ["owner_id", 1], ["created_at", "2015-05-14 22:02:30.560662"], ["updated_at", "2015-05-14 22:02:30.560662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 22:02:30.563599"], ["updated_at", "2015-05-14 22:02:30.563599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:02:30.564472"], ["updated_at", "2015-05-14 22:02:30.564755"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 22:02:30.567792"], ["created_at", "2015-05-14 22:02:30.568729"], ["updated_at", "2015-05-14 22:02:30.568729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:02:30.571248"], ["updated_at", "2015-05-14 22:02:30.571248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:02:30.572758"], ["updated_at", "2015-05-14 22:02:30.572758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:30.574247"], ["updated_at", "2015-05-14 22:02:30.574247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:30.589442"], ["updated_at", "2015-05-14 22:02:30.589442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:02:30.600567"], ["updated_at", "2015-05-14 22:02:30.600567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:02:30.602002"], ["updated_at", "2015-05-14 22:02:30.602002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:30.603440"], ["updated_at", "2015-05-14 22:02:30.603440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:02:39.833240"], ["updated_at", "2015-05-14 22:02:39.833240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:02:39.835221"], ["updated_at", "2015-05-14 22:02:39.835221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:39.836680"], ["updated_at", "2015-05-14 22:02:39.836680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:39.870687"], ["updated_at", "2015-05-14 22:02:39.870687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:02:39.875713"], ["updated_at", "2015-05-14 22:02:39.875713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:02:39.877540"], ["updated_at", "2015-05-14 22:02:39.877540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:39.878932"], ["updated_at", "2015-05-14 22:02:39.878932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 22:02:39.885593"], ["updated_at", "2015-05-14 22:02:39.885593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:02:39.886455"], ["updated_at", "2015-05-14 22:02:39.886711"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 22:02:39.888720"], ["created_at", "2015-05-14 22:02:39.889556"], ["updated_at", "2015-05-14 22:02:39.889556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:39.893696"], ["updated_at", "2015-05-14 22:02:39.893696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:02:39.670883"], ["owner_id", 1], ["created_at", "2015-05-14 22:02:39.897751"], ["updated_at", "2015-05-14 22:02:39.897751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:39.903774"], ["updated_at", "2015-05-14 22:02:39.903774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:39.906195"], ["updated_at", "2015-05-14 22:02:39.906195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:02:39.908274"], ["updated_at", "2015-05-14 22:02:39.908274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:39.911818"], ["updated_at", "2015-05-14 22:02:39.911818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:02:39.913462"], ["updated_at", "2015-05-14 22:02:39.913462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:39.915345"], ["updated_at", "2015-05-14 22:02:39.915345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:02:39.670883"], ["owner_id", 1], ["created_at", "2015-05-14 22:02:39.916874"], ["updated_at", "2015-05-14 22:02:39.916874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:39.918751"], ["updated_at", "2015-05-14 22:02:39.918751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:02:39.920210"], ["updated_at", "2015-05-14 22:02:39.920210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:39.922059"], ["updated_at", "2015-05-14 22:02:39.922059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:02:39.923520"], ["updated_at", "2015-05-14 22:02:39.923520"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-09 22:02:39.924252"], ["owner_id", 1], ["created_at", "2015-05-14 22:02:39.925351"], ["updated_at", "2015-05-14 22:02:39.925351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 22:02:39.928749"], ["updated_at", "2015-05-14 22:02:39.928749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:39.930419"], ["updated_at", "2015-05-14 22:02:39.930419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:02:39.931126"], ["current_period_start", "2015-05-14 22:02:39.931126"], ["current_period_end", "2015-06-14 22:02:39.931126"], ["created_at", "2015-05-14 22:02:39.932278"], ["updated_at", "2015-05-14 22:02:39.932278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:39.934766"], ["updated_at", "2015-05-14 22:02:39.934766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:39.950206"], ["updated_at", "2015-05-14 22:02:39.950206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:02:56.344746"], ["updated_at", "2015-05-14 22:02:56.344746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:02:56.346717"], ["updated_at", "2015-05-14 22:02:56.346717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:56.348515"], ["updated_at", "2015-05-14 22:02:56.348515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:56.376141"], ["updated_at", "2015-05-14 22:02:56.376141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:02:56.379568"], ["updated_at", "2015-05-14 22:02:56.379568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:02:56.381339"], ["updated_at", "2015-05-14 22:02:56.381339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:56.383035"], ["updated_at", "2015-05-14 22:02:56.383035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:56.387135"], ["updated_at", "2015-05-14 22:02:56.387135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:02:56.182500"], ["owner_id", 1], ["created_at", "2015-05-14 22:02:56.395458"], ["updated_at", "2015-05-14 22:02:56.395458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:56.401578"], ["updated_at", "2015-05-14 22:02:56.401578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:56.403266"], ["updated_at", "2015-05-14 22:02:56.403266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:02:56.405023"], ["updated_at", "2015-05-14 22:02:56.405023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:56.408055"], ["updated_at", "2015-05-14 22:02:56.408055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:02:56.182500"], ["owner_id", 1], ["created_at", "2015-05-14 22:02:56.410129"], ["updated_at", "2015-05-14 22:02:56.410129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-09 22:02:56.410950"], ["owner_id", 1], ["created_at", "2015-05-14 22:02:56.412345"], ["updated_at", "2015-05-14 22:02:56.412345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:56.414481"], ["updated_at", "2015-05-14 22:02:56.414481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:02:56.416049"], ["updated_at", "2015-05-14 22:02:56.416049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:56.417964"], ["updated_at", "2015-05-14 22:02:56.417964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:02:56.182500"], ["owner_id", 1], ["created_at", "2015-05-14 22:02:56.419438"], ["updated_at", "2015-05-14 22:02:56.419438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:02:56.421416"], ["updated_at", "2015-05-14 22:02:56.421416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:02:56.422918"], ["updated_at", "2015-05-14 22:02:56.422918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 22:02:56.424718"], ["created_at", "2015-05-14 22:02:56.425769"], ["updated_at", "2015-05-14 22:02:56.425769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 22:02:56.427584"], ["updated_at", "2015-05-14 22:02:56.427584"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:02:56.428353"], ["updated_at", "2015-05-14 22:02:56.428633"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 22:02:56.430960"], ["updated_at", "2015-05-14 22:02:56.430960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:56.432691"], ["updated_at", "2015-05-14 22:02:56.432691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:02:56.433424"], ["current_period_start", "2015-05-14 22:02:56.433424"], ["current_period_end", "2015-06-14 22:02:56.433424"], ["created_at", "2015-05-14 22:02:56.434583"], ["updated_at", "2015-05-14 22:02:56.434583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:56.437140"], ["updated_at", "2015-05-14 22:02:56.437140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:02:56.459018"], ["updated_at", "2015-05-14 22:02:56.459018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:03:12.936634"], ["updated_at", "2015-05-14 22:03:12.936634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:03:12.947921"], ["updated_at", "2015-05-14 22:03:12.947921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:03:12.963042"], ["updated_at", "2015-05-14 22:03:12.963042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:03:12.792852"], ["owner_id", 1], ["created_at", "2015-05-14 22:03:12.965027"], ["updated_at", "2015-05-14 22:03:12.965027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-09 22:03:12.965887"], ["owner_id", 1], ["created_at", "2015-05-14 22:03:12.967081"], ["updated_at", "2015-05-14 22:03:12.967081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:03:12.969335"], ["updated_at", "2015-05-14 22:03:12.969335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:03:12.970894"], ["updated_at", "2015-05-14 22:03:12.970894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:03:12.972856"], ["updated_at", "2015-05-14 22:03:12.972856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:03:12.792852"], ["owner_id", 1], ["created_at", "2015-05-14 22:03:12.974324"], ["updated_at", "2015-05-14 22:03:12.974324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:03:12.976336"], ["updated_at", "2015-05-14 22:03:12.976336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:03:12.977889"], ["updated_at", "2015-05-14 22:03:12.977889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:03:12.979624"], ["updated_at", "2015-05-14 22:03:12.979624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:03:12.981189"], ["updated_at", "2015-05-14 22:03:12.981189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:03:12.792852"], ["owner_id", 1], ["created_at", "2015-05-14 22:03:12.982672"], ["updated_at", "2015-05-14 22:03:12.982672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:03:13.009469"], ["updated_at", "2015-05-14 22:03:13.009469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:03:13.013064"], ["updated_at", "2015-05-14 22:03:13.013064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 22:03:13.015939"], ["updated_at", "2015-05-14 22:03:13.015939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:03:13.016849"], ["updated_at", "2015-05-14 22:03:13.017222"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 22:03:13.020804"], ["created_at", "2015-05-14 22:03:13.021716"], ["updated_at", "2015-05-14 22:03:13.021716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 22:03:13.023348"], ["updated_at", "2015-05-14 22:03:13.023348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:03:13.025059"], ["updated_at", "2015-05-14 22:03:13.025059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:03:13.025755"], ["current_period_start", "2015-05-14 22:03:13.025755"], ["current_period_end", "2015-06-14 22:03:13.025755"], ["created_at", "2015-05-14 22:03:13.026510"], ["updated_at", "2015-05-14 22:03:13.026510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:03:13.028861"], ["updated_at", "2015-05-14 22:03:13.028861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:03:13.030233"], ["updated_at", "2015-05-14 22:03:13.030233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:03:13.031831"], ["updated_at", "2015-05-14 22:03:13.031831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:03:13.050019"], ["updated_at", "2015-05-14 22:03:13.050019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:03:13.057303"], ["updated_at", "2015-05-14 22:03:13.057303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:03:13.059118"], ["updated_at", "2015-05-14 22:03:13.059118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:03:13.060786"], ["updated_at", "2015-05-14 22:03:13.060786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:10.203915"], ["updated_at", "2015-05-14 22:15:10.203915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:15:10.053851"], ["owner_id", 1], ["created_at", "2015-05-14 22:15:10.219670"], ["updated_at", "2015-05-14 22:15:10.219670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-09 22:15:10.220728"], ["owner_id", 1], ["created_at", "2015-05-14 22:15:10.221795"], ["updated_at", "2015-05-14 22:15:10.221795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:10.229101"], ["updated_at", "2015-05-14 22:15:10.229101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:15:10.230849"], ["updated_at", "2015-05-14 22:15:10.230849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:10.232898"], ["updated_at", "2015-05-14 22:15:10.232898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:15:10.053851"], ["owner_id", 1], ["created_at", "2015-05-14 22:15:10.234399"], ["updated_at", "2015-05-14 22:15:10.234399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:10.236316"], ["updated_at", "2015-05-14 22:15:10.236316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:15:10.237782"], ["updated_at", "2015-05-14 22:15:10.237782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:10.239637"], ["updated_at", "2015-05-14 22:15:10.239637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:15:10.241157"], ["updated_at", "2015-05-14 22:15:10.241157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:10.242917"], ["updated_at", "2015-05-14 22:15:10.242917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:15:10.053851"], ["owner_id", 1], ["created_at", "2015-05-14 22:15:10.244397"], ["updated_at", "2015-05-14 22:15:10.244397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:10.246135"], ["updated_at", "2015-05-14 22:15:10.246135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:10.258461"], ["updated_at", "2015-05-14 22:15:10.258461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:10.261947"], ["updated_at", "2015-05-14 22:15:10.261947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 22:15:10.277996"], ["updated_at", "2015-05-14 22:15:10.277996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:10.279794"], ["updated_at", "2015-05-14 22:15:10.279794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:15:10.280609"], ["current_period_start", "2015-05-14 22:15:10.280609"], ["current_period_end", "2015-06-14 22:15:10.280609"], ["created_at", "2015-05-14 22:15:10.281266"], ["updated_at", "2015-05-14 22:15:10.281266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:15:10.284711"], ["updated_at", "2015-05-14 22:15:10.284711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:15:10.286266"], ["updated_at", "2015-05-14 22:15:10.286266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:10.287641"], ["updated_at", "2015-05-14 22:15:10.287641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:15:10.292206"], ["updated_at", "2015-05-14 22:15:10.292206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:15:10.294700"], ["updated_at", "2015-05-14 22:15:10.294700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:10.297088"], ["updated_at", "2015-05-14 22:15:10.297088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:10.312590"], ["updated_at", "2015-05-14 22:15:10.312590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:10.328411"], ["updated_at", "2015-05-14 22:15:10.328411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:10.329953"], ["updated_at", "2015-05-14 22:15:10.329953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:15:10.331654"], ["updated_at", "2015-05-14 22:15:10.331654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 22:15:10.332951"], ["created_at", "2015-05-14 22:15:10.333881"], ["updated_at", "2015-05-14 22:15:10.333881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 22:15:10.335995"], ["updated_at", "2015-05-14 22:15:10.335995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:15:10.336769"], ["updated_at", "2015-05-14 22:15:10.337058"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 22:15:18.855877"], ["updated_at", "2015-05-14 22:15:18.855877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:15:18.858955"], ["updated_at", "2015-05-14 22:15:18.859359"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 22:15:18.863001"], ["created_at", "2015-05-14 22:15:18.863969"], ["updated_at", "2015-05-14 22:15:18.863969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:18.868694"], ["updated_at", "2015-05-14 22:15:18.868694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:18.886037"], ["updated_at", "2015-05-14 22:15:18.886037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:15:18.890729"], ["updated_at", "2015-05-14 22:15:18.890729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 22:15:18.892515"], ["updated_at", "2015-05-14 22:15:18.892515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:18.894117"], ["updated_at", "2015-05-14 22:15:18.894117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:15:18.894789"], ["current_period_start", "2015-05-14 22:15:18.894789"], ["current_period_end", "2015-06-14 22:15:18.894789"], ["created_at", "2015-05-14 22:15:18.895830"], ["updated_at", "2015-05-14 22:15:18.895830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:18.898191"], ["updated_at", "2015-05-14 22:15:18.898191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:18.900665"], ["updated_at", "2015-05-14 22:15:18.900665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:15:18.918169"], ["updated_at", "2015-05-14 22:15:18.918169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:15:18.919597"], ["updated_at", "2015-05-14 22:15:18.919597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:18.920919"], ["updated_at", "2015-05-14 22:15:18.920919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:15:18.924939"], ["updated_at", "2015-05-14 22:15:18.924939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:15:18.926298"], ["updated_at", "2015-05-14 22:15:18.926298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:18.927674"], ["updated_at", "2015-05-14 22:15:18.927674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:18.933142"], ["updated_at", "2015-05-14 22:15:18.933142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:18.951342"], ["updated_at", "2015-05-14 22:15:18.951342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:15:18.953910"], ["updated_at", "2015-05-14 22:15:18.953910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:18.961288"], ["updated_at", "2015-05-14 22:15:18.961288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:15:18.708037"], ["owner_id", 1], ["created_at", "2015-05-14 22:15:18.963747"], ["updated_at", "2015-05-14 22:15:18.963747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:18.966661"], ["updated_at", "2015-05-14 22:15:18.966661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:15:18.969006"], ["updated_at", "2015-05-14 22:15:18.969006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:18.971690"], ["updated_at", "2015-05-14 22:15:18.971690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:15:18.708037"], ["owner_id", 1], ["created_at", "2015-05-14 22:15:18.973838"], ["updated_at", "2015-05-14 22:15:18.973838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:18.976482"], ["updated_at", "2015-05-14 22:15:18.976482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:18.980111"], ["updated_at", "2015-05-14 22:15:18.980111"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:15:18.981729"], ["updated_at", "2015-05-14 22:15:18.981729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:18.983512"], ["updated_at", "2015-05-14 22:15:18.983512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:15:18.708037"], ["owner_id", 1], ["created_at", "2015-05-14 22:15:18.985043"], ["updated_at", "2015-05-14 22:15:18.985043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-09 22:15:18.985795"], ["owner_id", 1], ["created_at", "2015-05-14 22:15:18.986778"], ["updated_at", "2015-05-14 22:15:18.986778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:26.851191"], ["updated_at", "2015-05-14 22:15:26.851191"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:26.870437"], ["updated_at", "2015-05-14 22:15:26.870437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 22:15:26.889168"], ["updated_at", "2015-05-14 22:15:26.889168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:26.891166"], ["updated_at", "2015-05-14 22:15:26.891166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:15:26.891995"], ["current_period_start", "2015-05-14 22:15:26.891995"], ["current_period_end", "2015-06-14 22:15:26.891995"], ["created_at", "2015-05-14 22:15:26.893793"], ["updated_at", "2015-05-14 22:15:26.893793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:15:26.897513"], ["updated_at", "2015-05-14 22:15:26.897513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:15:26.898936"], ["updated_at", "2015-05-14 22:15:26.898936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:26.900219"], ["updated_at", "2015-05-14 22:15:26.900219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:15:26.905183"], ["updated_at", "2015-05-14 22:15:26.905183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:15:26.906648"], ["updated_at", "2015-05-14 22:15:26.906648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:26.907967"], ["updated_at", "2015-05-14 22:15:26.907967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:26.921370"], ["updated_at", "2015-05-14 22:15:26.921370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:26.931133"], ["updated_at", "2015-05-14 22:15:26.931133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:15:26.932652"], ["updated_at", "2015-05-14 22:15:26.932652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:15:26.934319"], ["updated_at", "2015-05-14 22:15:26.934319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:15:26.940086"], ["updated_at", "2015-05-14 22:15:26.940657"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:15:26.941795"], ["current_period_start", "2015-05-14 22:15:26.941795"], ["current_period_end", "2015-06-14 22:15:26.941795"], ["created_at", "2015-05-14 22:15:26.942412"], ["updated_at", "2015-05-14 22:15:26.942412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:26.944525"], ["updated_at", "2015-05-14 22:15:26.944525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:15:26.946455"], ["updated_at", "2015-05-14 22:15:26.946455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:26.948498"], ["updated_at", "2015-05-14 22:15:26.948498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:15:26.699923"], ["owner_id", 1], ["created_at", "2015-05-14 22:15:26.950016"], ["updated_at", "2015-05-14 22:15:26.950016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:26.952741"], ["updated_at", "2015-05-14 22:15:26.952741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:15:26.955922"], ["updated_at", "2015-05-14 22:15:26.955922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:26.958213"], ["updated_at", "2015-05-14 22:15:26.958213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:15:26.699923"], ["owner_id", 1], ["created_at", "2015-05-14 22:15:26.959831"], ["updated_at", "2015-05-14 22:15:26.959831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:26.961757"], ["updated_at", "2015-05-14 22:15:26.961757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:26.964448"], ["updated_at", "2015-05-14 22:15:26.964448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:15:26.965914"], ["updated_at", "2015-05-14 22:15:26.965914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:15:26.967747"], ["updated_at", "2015-05-14 22:15:26.967747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:15:26.699923"], ["owner_id", 1], ["created_at", "2015-05-14 22:15:26.969350"], ["updated_at", "2015-05-14 22:15:26.969350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-09 22:15:26.970086"], ["owner_id", 1], ["created_at", "2015-05-14 22:15:26.971122"], ["updated_at", "2015-05-14 22:15:26.971122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 22:15:26.973916"], ["updated_at", "2015-05-14 22:15:26.973916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:15:26.974708"], ["updated_at", "2015-05-14 22:15:26.974985"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 22:15:26.976019"], ["created_at", "2015-05-14 22:15:26.980914"], ["updated_at", "2015-05-14 22:15:26.980914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 22:24:53.677231"], ["updated_at", "2015-05-14 22:24:53.677231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:24:53.689351"], ["updated_at", "2015-05-14 22:24:53.689351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:24:53.690296"], ["current_period_start", "2015-05-14 22:24:53.690296"], ["current_period_end", "2015-06-14 22:24:53.690296"], ["created_at", "2015-05-14 22:24:53.703649"], ["updated_at", "2015-05-14 22:24:53.703649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:24:53.707834"], ["updated_at", "2015-05-14 22:24:53.707834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:24:53.713220"], ["updated_at", "2015-05-14 22:24:53.713220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:24:53.728045"], ["updated_at", "2015-05-14 22:24:53.728045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:24:53.535699"], ["owner_id", 1], ["created_at", "2015-05-14 22:24:53.730232"], ["updated_at", "2015-05-14 22:24:53.730232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:24:53.745740"], ["updated_at", "2015-05-14 22:24:53.745740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:24:53.748215"], ["updated_at", "2015-05-14 22:24:53.748215"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:24:53.753250"], ["updated_at", "2015-05-14 22:24:53.753250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:24:53.535699"], ["owner_id", 1], ["created_at", "2015-05-14 22:24:53.756719"], ["updated_at", "2015-05-14 22:24:53.756719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-09 22:24:53.757903"], ["owner_id", 1], ["created_at", "2015-05-14 22:24:53.759256"], ["updated_at", "2015-05-14 22:24:53.759256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:24:53.761473"], ["updated_at", "2015-05-14 22:24:53.761473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:24:53.763141"], ["updated_at", "2015-05-14 22:24:53.763141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:24:53.765144"], ["updated_at", "2015-05-14 22:24:53.765144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:24:53.766640"], ["updated_at", "2015-05-14 22:24:53.766640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:24:53.768476"], ["updated_at", "2015-05-14 22:24:53.768476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:24:53.535699"], ["owner_id", 1], ["created_at", "2015-05-14 22:24:53.769903"], ["updated_at", "2015-05-14 22:24:53.769903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:24:53.771651"], ["updated_at", "2015-05-14 22:24:53.771651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:24:53.775206"], ["updated_at", "2015-05-14 22:24:53.775206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:24:53.777236"], ["updated_at", "2015-05-14 22:24:53.777236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:24:53.778780"], ["updated_at", "2015-05-14 22:24:53.778780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:24:53.783362"], ["updated_at", "2015-05-14 22:24:53.783362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:24:53.784823"], ["updated_at", "2015-05-14 22:24:53.784823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:24:53.786137"], ["updated_at", "2015-05-14 22:24:53.786137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:24:53.793707"], ["updated_at", "2015-05-14 22:24:53.793707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 22:24:53.809452"], ["created_at", "2015-05-14 22:24:53.810368"], ["updated_at", "2015-05-14 22:24:53.810368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 22:24:53.812334"], ["updated_at", "2015-05-14 22:24:53.812334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:24:53.813135"], ["updated_at", "2015-05-14 22:24:53.813397"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:24:53.815198"], ["updated_at", "2015-05-14 22:24:53.815198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:24:53.816674"], ["updated_at", "2015-05-14 22:24:53.816674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:24:53.818729"], ["current_period_start", "2015-05-14 22:24:53.818729"], ["current_period_end", "2015-06-14 22:24:53.818729"], ["created_at", "2015-05-14 22:24:53.819719"], ["updated_at", "2015-05-14 22:24:53.819719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:24:53.821565"], ["updated_at", "2015-05-14 22:24:53.821565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:24:53.823150"], ["updated_at", "2015-05-14 22:24:53.823150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:24:53.828799"], ["updated_at", "2015-05-14 22:24:53.828799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:24:53.830326"], ["updated_at", "2015-05-14 22:24:53.830728"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:24:53.831390"], ["current_period_start", "2015-05-14 22:24:53.831390"], ["current_period_end", "2015-06-14 22:24:53.831390"], ["created_at", "2015-05-14 22:24:53.831914"], ["updated_at", "2015-05-14 22:24:53.831914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:46:44.762277"], ["updated_at", "2015-05-14 22:46:44.762277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:46:44.766778"], ["updated_at", "2015-05-14 22:46:44.766778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-14 22:46:44.768093"], ["updated_at", "2015-05-14 22:46:44.768093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:46:44.769447"], ["updated_at", "2015-05-14 22:46:44.769447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:46:44.774481"], ["updated_at", "2015-05-14 22:46:44.774481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-14 22:46:44.775814"], ["updated_at", "2015-05-14 22:46:44.775814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:46:44.777126"], ["updated_at", "2015-05-14 22:46:44.777126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-14 22:46:44.782072"], ["updated_at", "2015-05-14 22:46:44.782072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:46:44.784110"], ["updated_at", "2015-05-14 22:46:44.784110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:46:44.784868"], ["current_period_start", "2015-05-14 22:46:44.784868"], ["current_period_end", "2015-06-14 22:46:44.784868"], ["created_at", "2015-05-14 22:46:44.792022"], ["updated_at", "2015-05-14 22:46:44.792022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:46:44.794959"], ["updated_at", "2015-05-14 22:46:44.794959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:46:44.797459"], ["updated_at", "2015-05-14 22:46:44.797459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:46:44.803742"], ["updated_at", "2015-05-14 22:46:44.803742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:46:44.587731"], ["owner_id", 1], ["created_at", "2015-05-14 22:46:44.805572"], ["updated_at", "2015-05-14 22:46:44.805572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-09 22:46:44.806398"], ["owner_id", 1], ["created_at", "2015-05-14 22:46:44.807420"], ["updated_at", "2015-05-14 22:46:44.807420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:46:44.809746"], ["updated_at", "2015-05-14 22:46:44.809746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:46:44.811766"], ["updated_at", "2015-05-14 22:46:44.811766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:46:44.814537"], ["updated_at", "2015-05-14 22:46:44.814537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:46:44.587731"], ["owner_id", 1], ["created_at", "2015-05-14 22:46:44.816152"], ["updated_at", "2015-05-14 22:46:44.816152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:46:44.819121"], ["updated_at", "2015-05-14 22:46:44.819121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:46:44.820636"], ["updated_at", "2015-05-14 22:46:44.820636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:46:44.822101"], ["updated_at", "2015-05-14 22:46:44.822101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:46:44.823932"], ["updated_at", "2015-05-14 22:46:44.823932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-14 22:46:44.587731"], ["owner_id", 1], ["created_at", "2015-05-14 22:46:44.825614"], ["updated_at", "2015-05-14 22:46:44.825614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:46:44.830161"], ["updated_at", "2015-05-14 22:46:44.830161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:46:44.844169"], ["updated_at", "2015-05-14 22:46:44.844169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-14 22:46:44.846801"], ["updated_at", "2015-05-14 22:46:44.846801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:46:44.847585"], ["updated_at", "2015-05-14 22:46:44.847859"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-11 22:46:44.849423"], ["created_at", "2015-05-14 22:46:44.850185"], ["updated_at", "2015-05-14 22:46:44.850185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:46:44.853122"], ["updated_at", "2015-05-14 22:46:44.853122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:46:44.854561"], ["updated_at", "2015-05-14 22:46:44.854561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-14 22:46:44.856267"], ["updated_at", "2015-05-14 22:46:44.856267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-14 22:46:44.858053"], ["updated_at", "2015-05-14 22:46:44.858495"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:46:44.863076"], ["current_period_start", "2015-05-14 22:46:44.863076"], ["current_period_end", "2015-06-14 22:46:44.863076"], ["created_at", "2015-05-14 22:46:44.863745"], ["updated_at", "2015-05-14 22:46:44.863745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-14 22:46:44.865817"], ["updated_at", "2015-05-14 22:46:44.865817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-14 22:46:44.867279"], ["updated_at", "2015-05-14 22:46:44.867279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-14 22:46:44.868408"], ["current_period_start", "2015-05-14 22:46:44.868408"], ["current_period_end", "2015-06-14 22:46:44.868408"], ["created_at", "2015-05-14 22:46:44.869024"], ["updated_at", "2015-05-14 22:46:44.869024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 15:55:00.936125"], ["updated_at", "2015-05-15 15:55:00.936125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-15 15:55:00.946024"], ["updated_at", "2015-05-15 15:55:00.946024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-15 15:55:00.947430"], ["updated_at", "2015-05-15 15:55:00.947430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 15:55:00.948736"], ["updated_at", "2015-05-15 15:55:00.948736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-15 15:55:00.953636"], ["updated_at", "2015-05-15 15:55:00.953636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-15 15:55:00.955819"], ["updated_at", "2015-05-15 15:55:00.955819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 15:55:00.957595"], ["updated_at", "2015-05-15 15:55:00.957595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-15 15:55:00.961916"], ["updated_at", "2015-05-15 15:55:00.961916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 15:55:00.963552"], ["updated_at", "2015-05-15 15:55:00.963552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-15 15:55:00.964265"], ["current_period_start", "2015-05-15 15:55:00.964265"], ["current_period_end", "2015-06-15 15:55:00.964265"], ["created_at", "2015-05-15 15:55:00.971024"], ["updated_at", "2015-05-15 15:55:00.971024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 15:55:00.975154"], ["updated_at", "2015-05-15 15:55:00.975154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-15 15:55:00.760014"], ["owner_id", 1], ["created_at", "2015-05-15 15:55:00.977533"], ["updated_at", "2015-05-15 15:55:00.977533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-10 15:55:00.978325"], ["owner_id", 1], ["created_at", "2015-05-15 15:55:00.979318"], ["updated_at", "2015-05-15 15:55:00.979318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 15:55:00.986119"], ["updated_at", "2015-05-15 15:55:00.986119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 15:55:00.988338"], ["updated_at", "2015-05-15 15:55:00.988338"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 15:55:00.991531"], ["updated_at", "2015-05-15 15:55:00.991531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 15:55:00.993321"], ["updated_at", "2015-05-15 15:55:00.993321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-15 15:55:00.760014"], ["owner_id", 1], ["created_at", "2015-05-15 15:55:00.994870"], ["updated_at", "2015-05-15 15:55:00.994870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 15:55:00.996760"], ["updated_at", "2015-05-15 15:55:00.996760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 15:55:00.998318"], ["updated_at", "2015-05-15 15:55:00.998318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 15:55:01.000235"], ["updated_at", "2015-05-15 15:55:01.000235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-15 15:55:00.760014"], ["owner_id", 1], ["created_at", "2015-05-15 15:55:01.001820"], ["updated_at", "2015-05-15 15:55:01.001820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 15:55:01.003661"], ["updated_at", "2015-05-15 15:55:01.003661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 15:55:01.005205"], ["updated_at", "2015-05-15 15:55:01.005205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-12 15:55:01.006943"], ["created_at", "2015-05-15 15:55:01.007793"], ["updated_at", "2015-05-15 15:55:01.007793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-15 15:55:01.009857"], ["updated_at", "2015-05-15 15:55:01.009857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-15 15:55:01.010656"], ["updated_at", "2015-05-15 15:55:01.010940"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 15:55:01.012825"], ["updated_at", "2015-05-15 15:55:01.012825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 15:55:01.014447"], ["updated_at", "2015-05-15 15:55:01.014447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-15 15:55:01.016696"], ["current_period_start", "2015-05-15 15:55:01.016696"], ["current_period_end", "2015-06-15 15:55:01.016696"], ["created_at", "2015-05-15 15:55:01.017725"], ["updated_at", "2015-05-15 15:55:01.017725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 15:55:01.019455"], ["updated_at", "2015-05-15 15:55:01.019455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 15:55:01.021045"], ["updated_at", "2015-05-15 15:55:01.021045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 15:55:01.022783"], ["updated_at", "2015-05-15 15:55:01.022783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-15 15:55:01.024153"], ["updated_at", "2015-05-15 15:55:01.024588"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-15 15:55:01.025262"], ["current_period_start", "2015-05-15 15:55:01.025262"], ["current_period_end", "2015-06-15 15:55:01.025262"], ["created_at", "2015-05-15 15:55:01.025905"], ["updated_at", "2015-05-15 15:55:01.025905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 15:55:01.045618"], ["updated_at", "2015-05-15 15:55:01.045618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 15:55:01.049492"], ["updated_at", "2015-05-15 15:55:01.049492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:29:43.613914"], ["updated_at", "2015-05-15 16:29:43.613914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:29:43.631863"], ["updated_at", "2015-05-15 16:29:43.631863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-15 16:29:43.640437"], ["current_period_start", "2015-05-15 16:29:43.640437"], ["current_period_end", "2015-06-15 16:29:43.640437"], ["created_at", "2015-05-15 16:29:43.646740"], ["updated_at", "2015-05-15 16:29:43.646740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:29:43.648691"], ["updated_at", "2015-05-15 16:29:43.648691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:29:43.650385"], ["updated_at", "2015-05-15 16:29:43.650385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 16:29:43.652789"], ["updated_at", "2015-05-15 16:29:43.652789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-15 16:29:43.654418"], ["updated_at", "2015-05-15 16:29:43.654915"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-15 16:29:43.657385"], ["current_period_start", "2015-05-15 16:29:43.657385"], ["current_period_end", "2015-06-15 16:29:43.657385"], ["created_at", "2015-05-15 16:29:43.658061"], ["updated_at", "2015-05-15 16:29:43.658061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-15 16:29:43.661427"], ["updated_at", "2015-05-15 16:29:43.661427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:29:43.663718"], ["updated_at", "2015-05-15 16:29:43.663718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-15 16:29:43.664618"], ["current_period_start", "2015-05-15 16:29:43.664618"], ["current_period_end", "2015-06-15 16:29:43.664618"], ["created_at", "2015-05-15 16:29:43.665445"], ["updated_at", "2015-05-15 16:29:43.665445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-15 16:29:43.668674"], ["updated_at", "2015-05-15 16:29:43.668674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-15 16:29:43.670218"], ["updated_at", "2015-05-15 16:29:43.670218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:29:43.671607"], ["updated_at", "2015-05-15 16:29:43.671607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:29:43.691003"], ["updated_at", "2015-05-15 16:29:43.691003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-15 16:29:43.697620"], ["updated_at", "2015-05-15 16:29:43.697620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-15 16:29:43.699280"], ["updated_at", "2015-05-15 16:29:43.699280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:29:43.700843"], ["updated_at", "2015-05-15 16:29:43.700843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-12 16:29:43.702575"], ["created_at", "2015-05-15 16:29:43.703605"], ["updated_at", "2015-05-15 16:29:43.703605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-15 16:29:43.705703"], ["updated_at", "2015-05-15 16:29:43.705703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-15 16:29:43.706538"], ["updated_at", "2015-05-15 16:29:43.706849"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:29:43.708385"], ["updated_at", "2015-05-15 16:29:43.708385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-15 16:29:43.469885"], ["owner_id", 1], ["created_at", "2015-05-15 16:29:43.710132"], ["updated_at", "2015-05-15 16:29:43.710132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:29:43.712496"], ["updated_at", "2015-05-15 16:29:43.712496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:29:43.714251"], ["updated_at", "2015-05-15 16:29:43.714251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 16:29:43.715959"], ["updated_at", "2015-05-15 16:29:43.715959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:29:43.719194"], ["updated_at", "2015-05-15 16:29:43.719194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-15 16:29:43.469885"], ["owner_id", 1], ["created_at", "2015-05-15 16:29:43.720877"], ["updated_at", "2015-05-15 16:29:43.720877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-10 16:29:43.721721"], ["owner_id", 1], ["created_at", "2015-05-15 16:29:43.722770"], ["updated_at", "2015-05-15 16:29:43.722770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:29:43.725920"], ["updated_at", "2015-05-15 16:29:43.725920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 16:29:43.728009"], ["updated_at", "2015-05-15 16:29:43.728009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:29:43.730138"], ["updated_at", "2015-05-15 16:29:43.730138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-15 16:29:43.469885"], ["owner_id", 1], ["created_at", "2015-05-15 16:29:43.731736"], ["updated_at", "2015-05-15 16:29:43.731736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:29:43.733753"], ["updated_at", "2015-05-15 16:29:43.733753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 16:29:43.735359"], ["updated_at", "2015-05-15 16:29:43.735359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:29:43.742458"], ["updated_at", "2015-05-15 16:29:43.742458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:29:43.758633"], ["updated_at", "2015-05-15 16:29:43.758633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-15 16:30:40.320210"], ["updated_at", "2015-05-15 16:30:40.320210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-15 16:30:40.328446"], ["updated_at", "2015-05-15 16:30:40.328784"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-12 16:30:40.332177"], ["created_at", "2015-05-15 16:30:40.333096"], ["updated_at", "2015-05-15 16:30:40.333096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:30:40.338251"], ["updated_at", "2015-05-15 16:30:40.338251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:30:40.348604"], ["updated_at", "2015-05-15 16:30:40.348604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 16:30:40.352975"], ["updated_at", "2015-05-15 16:30:40.352975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-15 16:30:40.358682"], ["updated_at", "2015-05-15 16:30:40.359191"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-15 16:30:40.359891"], ["current_period_start", "2015-05-15 16:30:40.359891"], ["current_period_end", "2015-06-15 16:30:40.359891"], ["created_at", "2015-05-15 16:30:40.360897"], ["updated_at", "2015-05-15 16:30:40.360897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:30:40.363637"], ["updated_at", "2015-05-15 16:30:40.363637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:30:40.365478"], ["updated_at", "2015-05-15 16:30:40.365478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-15 16:30:40.366741"], ["current_period_start", "2015-05-15 16:30:40.366741"], ["current_period_end", "2015-06-15 16:30:40.366741"], ["created_at", "2015-05-15 16:30:40.367963"], ["updated_at", "2015-05-15 16:30:40.367963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-15 16:30:40.369986"], ["updated_at", "2015-05-15 16:30:40.369986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:30:40.371659"], ["updated_at", "2015-05-15 16:30:40.371659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-15 16:30:40.372438"], ["current_period_start", "2015-05-15 16:30:40.372438"], ["current_period_end", "2015-06-15 16:30:40.372438"], ["created_at", "2015-05-15 16:30:40.373034"], ["updated_at", "2015-05-15 16:30:40.373034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:30:40.375639"], ["updated_at", "2015-05-15 16:30:40.375639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:30:40.377235"], ["updated_at", "2015-05-15 16:30:40.377235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-15 16:30:40.174566"], ["owner_id", 1], ["created_at", "2015-05-15 16:30:40.378762"], ["updated_at", "2015-05-15 16:30:40.378762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:30:40.380818"], ["updated_at", "2015-05-15 16:30:40.380818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 16:30:40.382271"], ["updated_at", "2015-05-15 16:30:40.382271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:30:40.384132"], ["updated_at", "2015-05-15 16:30:40.384132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 16:30:40.385595"], ["updated_at", "2015-05-15 16:30:40.385595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:30:40.387362"], ["updated_at", "2015-05-15 16:30:40.387362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-15 16:30:40.174566"], ["owner_id", 1], ["created_at", "2015-05-15 16:30:40.388866"], ["updated_at", "2015-05-15 16:30:40.388866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:30:40.390668"], ["updated_at", "2015-05-15 16:30:40.390668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 16:30:40.392171"], ["updated_at", "2015-05-15 16:30:40.392171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 16:30:40.393918"], ["updated_at", "2015-05-15 16:30:40.393918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-15 16:30:40.174566"], ["owner_id", 1], ["created_at", "2015-05-15 16:30:40.395412"], ["updated_at", "2015-05-15 16:30:40.395412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-10 16:30:40.396161"], ["owner_id", 1], ["created_at", "2015-05-15 16:30:40.397503"], ["updated_at", "2015-05-15 16:30:40.397503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:30:40.419623"], ["updated_at", "2015-05-15 16:30:40.419623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-15 16:30:40.424992"], ["updated_at", "2015-05-15 16:30:40.424992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-15 16:30:40.426359"], ["updated_at", "2015-05-15 16:30:40.426359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:30:40.428388"], ["updated_at", "2015-05-15 16:30:40.428388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-15 16:30:40.431698"], ["updated_at", "2015-05-15 16:30:40.431698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-15 16:30:40.433351"], ["updated_at", "2015-05-15 16:30:40.433351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:30:40.435140"], ["updated_at", "2015-05-15 16:30:40.435140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:30:40.452994"], ["updated_at", "2015-05-15 16:30:40.452994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 16:30:40.455574"], ["updated_at", "2015-05-15 16:30:40.455574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-15 18:00:56.948965"], ["updated_at", "2015-05-15 18:00:56.948965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 18:00:56.970367"], ["updated_at", "2015-05-15 18:00:56.970367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-15 18:00:56.971651"], ["current_period_start", "2015-05-15 18:00:56.971651"], ["current_period_end", "2015-06-15 18:00:56.971651"], ["created_at", "2015-05-15 18:00:56.981281"], ["updated_at", "2015-05-15 18:00:56.981281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-15 18:00:56.985980"], ["updated_at", "2015-05-15 18:00:56.985980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-15 18:00:56.987940"], ["updated_at", "2015-05-15 18:00:56.987940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 18:00:56.989760"], ["updated_at", "2015-05-15 18:00:56.989760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-15 18:00:56.996598"], ["updated_at", "2015-05-15 18:00:56.996598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-15 18:00:56.998638"], ["updated_at", "2015-05-15 18:00:56.998638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 18:00:57.000554"], ["updated_at", "2015-05-15 18:00:57.000554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 18:00:57.029037"], ["updated_at", "2015-05-15 18:00:57.029037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-15 18:00:57.036988"], ["updated_at", "2015-05-15 18:00:57.036988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-15 18:00:57.038082"], ["updated_at", "2015-05-15 18:00:57.038460"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-12 18:00:57.040382"], ["created_at", "2015-05-15 18:00:57.041424"], ["updated_at", "2015-05-15 18:00:57.041424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 18:00:57.043395"], ["updated_at", "2015-05-15 18:00:57.043395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 18:00:57.045366"], ["updated_at", "2015-05-15 18:00:57.045366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 18:00:57.047578"], ["updated_at", "2015-05-15 18:00:57.047578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-15 18:00:57.055006"], ["updated_at", "2015-05-15 18:00:57.055692"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-15 18:00:57.056674"], ["current_period_start", "2015-05-15 18:00:57.056674"], ["current_period_end", "2015-06-15 18:00:57.056674"], ["created_at", "2015-05-15 18:00:57.057499"], ["updated_at", "2015-05-15 18:00:57.057499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 18:00:57.060247"], ["updated_at", "2015-05-15 18:00:57.060247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 18:00:57.062403"], ["updated_at", "2015-05-15 18:00:57.062403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-15 18:00:57.064007"], ["current_period_start", "2015-05-15 18:00:57.064007"], ["current_period_end", "2015-06-15 18:00:57.064007"], ["created_at", "2015-05-15 18:00:57.064836"], ["updated_at", "2015-05-15 18:00:57.064836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 18:00:57.067896"], ["updated_at", "2015-05-15 18:00:57.067896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-15 18:00:57.071245"], ["updated_at", "2015-05-15 18:00:57.071245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 18:00:57.090362"], ["updated_at", "2015-05-15 18:00:57.090362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-15 18:00:56.759100"], ["owner_id", 1], ["created_at", "2015-05-15 18:00:57.092725"], ["updated_at", "2015-05-15 18:00:57.092725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 18:00:57.095511"], ["updated_at", "2015-05-15 18:00:57.095511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 18:00:57.102330"], ["updated_at", "2015-05-15 18:00:57.102330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 18:00:57.105052"], ["updated_at", "2015-05-15 18:00:57.105052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 18:00:57.107238"], ["updated_at", "2015-05-15 18:00:57.107238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 18:00:57.109250"], ["updated_at", "2015-05-15 18:00:57.109250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 18:00:57.111667"], ["updated_at", "2015-05-15 18:00:57.111667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-15 18:00:56.759100"], ["owner_id", 1], ["created_at", "2015-05-15 18:00:57.113726"], ["updated_at", "2015-05-15 18:00:57.113726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 18:00:57.117673"], ["updated_at", "2015-05-15 18:00:57.117673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-15 18:00:57.119945"], ["updated_at", "2015-05-15 18:00:57.119945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-15 18:00:57.122583"], ["updated_at", "2015-05-15 18:00:57.122583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-15 18:00:56.759100"], ["owner_id", 1], ["created_at", "2015-05-15 18:00:57.124654"], ["updated_at", "2015-05-15 18:00:57.124654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-10 18:00:57.125782"], ["owner_id", 1], ["created_at", "2015-05-15 18:00:57.127093"], ["updated_at", "2015-05-15 18:00:57.127093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 21:48:29.866077"], ["updated_at", "2015-05-21 21:48:29.866077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 21:48:29.874431"], ["updated_at", "2015-05-21 21:48:29.874431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 21:48:29.875836"], ["updated_at", "2015-05-21 21:48:29.875836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 21:48:29.877321"], ["updated_at", "2015-05-21 21:48:29.877321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 21:48:29.882325"], ["updated_at", "2015-05-21 21:48:29.882325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 21:48:29.883951"], ["updated_at", "2015-05-21 21:48:29.883951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 21:48:29.885355"], ["updated_at", "2015-05-21 21:48:29.885355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 21:48:29.895402"], ["updated_at", "2015-05-21 21:48:29.895402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 21:48:29.896406"], ["updated_at", "2015-05-21 21:48:29.896671"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 21:48:29.915986"], ["created_at", "2015-05-21 21:48:29.917117"], ["updated_at", "2015-05-21 21:48:29.917117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 21:48:29.922140"], ["updated_at", "2015-05-21 21:48:29.922140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 21:48:29.924115"], ["updated_at", "2015-05-21 21:48:29.924115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 21:48:29.924848"], ["current_period_start", "2015-05-21 21:48:29.924848"], ["current_period_end", "2015-06-21 21:48:29.924848"], ["created_at", "2015-05-21 21:48:29.928546"], ["updated_at", "2015-05-21 21:48:29.928546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 21:48:29.931572"], ["updated_at", "2015-05-21 21:48:29.931572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 21:48:29.933478"], ["updated_at", "2015-05-21 21:48:29.933478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 21:48:29.939689"], ["updated_at", "2015-05-21 21:48:29.939689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 21:48:29.296954"], ["owner_id", 1], ["created_at", "2015-05-21 21:48:29.941682"], ["updated_at", "2015-05-21 21:48:29.941682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 21:48:29.942451"], ["owner_id", 1], ["created_at", "2015-05-21 21:48:29.943389"], ["updated_at", "2015-05-21 21:48:29.943389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 21:48:29.946203"], ["updated_at", "2015-05-21 21:48:29.946203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 21:48:29.947994"], ["updated_at", "2015-05-21 21:48:29.947994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 21:48:29.951068"], ["updated_at", "2015-05-21 21:48:29.951068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 21:48:29.296954"], ["owner_id", 1], ["created_at", "2015-05-21 21:48:29.953016"], ["updated_at", "2015-05-21 21:48:29.953016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 21:48:29.955159"], ["updated_at", "2015-05-21 21:48:29.955159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 21:48:29.956931"], ["updated_at", "2015-05-21 21:48:29.956931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 21:48:29.958765"], ["updated_at", "2015-05-21 21:48:29.958765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 21:48:29.961035"], ["updated_at", "2015-05-21 21:48:29.961035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 21:48:29.296954"], ["owner_id", 1], ["created_at", "2015-05-21 21:48:29.962601"], ["updated_at", "2015-05-21 21:48:29.962601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 21:48:29.983803"], ["updated_at", "2015-05-21 21:48:29.983803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 21:48:29.986901"], ["updated_at", "2015-05-21 21:48:29.986901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 21:48:29.988897"], ["updated_at", "2015-05-21 21:48:29.988897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 21:48:29.990608"], ["updated_at", "2015-05-21 21:48:29.990608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 21:48:29.992305"], ["updated_at", "2015-05-21 21:48:29.992305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 21:48:30.007297"], ["updated_at", "2015-05-21 21:48:30.007901"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 21:48:30.008745"], ["current_period_start", "2015-05-21 21:48:30.008745"], ["current_period_end", "2015-06-21 21:48:30.008745"], ["created_at", "2015-05-21 21:48:30.009973"], ["updated_at", "2015-05-21 21:48:30.009973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 21:48:30.012610"], ["updated_at", "2015-05-21 21:48:30.012610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 21:48:30.014290"], ["updated_at", "2015-05-21 21:48:30.014290"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 21:48:30.015460"], ["current_period_start", "2015-05-21 21:48:30.015460"], ["current_period_end", "2015-06-21 21:48:30.015460"], ["created_at", "2015-05-21 21:48:30.016111"], ["updated_at", "2015-05-21 21:48:30.016111"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 22:06:12.549716"], ["updated_at", "2015-05-21 22:06:12.549716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:06:12.568310"], ["updated_at", "2015-05-21 22:06:12.568310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:06:12.569497"], ["current_period_start", "2015-05-21 22:06:12.569497"], ["current_period_end", "2015-06-21 22:06:12.569497"], ["created_at", "2015-05-21 22:06:12.577602"], ["updated_at", "2015-05-21 22:06:12.577602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:06:12.580527"], ["updated_at", "2015-05-21 22:06:12.580527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:06:12.582280"], ["updated_at", "2015-05-21 22:06:12.582280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:06:12.584779"], ["updated_at", "2015-05-21 22:06:12.584779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:06:12.592559"], ["updated_at", "2015-05-21 22:06:12.593386"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:06:12.596782"], ["current_period_start", "2015-05-21 22:06:12.596782"], ["current_period_end", "2015-06-21 22:06:12.596782"], ["created_at", "2015-05-21 22:06:12.597691"], ["updated_at", "2015-05-21 22:06:12.597691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:06:12.601108"], ["updated_at", "2015-05-21 22:06:12.601108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:06:12.603365"], ["updated_at", "2015-05-21 22:06:12.603365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:06:12.605293"], ["current_period_start", "2015-05-21 22:06:12.605293"], ["current_period_end", "2015-06-21 22:06:12.605293"], ["created_at", "2015-05-21 22:06:12.606868"], ["updated_at", "2015-05-21 22:06:12.606868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 22:06:12.610026"], ["updated_at", "2015-05-21 22:06:12.610026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:06:12.610920"], ["updated_at", "2015-05-21 22:06:12.611193"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 22:06:12.612315"], ["created_at", "2015-05-21 22:06:12.613086"], ["updated_at", "2015-05-21 22:06:12.613086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:06:12.615315"], ["updated_at", "2015-05-21 22:06:12.615315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:06:12.634904"], ["updated_at", "2015-05-21 22:06:12.634904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:06:12.638886"], ["updated_at", "2015-05-21 22:06:12.638886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:06:12.640622"], ["updated_at", "2015-05-21 22:06:12.640622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:06:12.642523"], ["updated_at", "2015-05-21 22:06:12.642523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:06:12.386340"], ["owner_id", 1], ["created_at", "2015-05-21 22:06:12.644458"], ["updated_at", "2015-05-21 22:06:12.644458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:06:12.648285"], ["updated_at", "2015-05-21 22:06:12.648285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:06:12.650081"], ["updated_at", "2015-05-21 22:06:12.650081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:06:12.652225"], ["updated_at", "2015-05-21 22:06:12.652225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:06:12.386340"], ["owner_id", 1], ["created_at", "2015-05-21 22:06:12.654131"], ["updated_at", "2015-05-21 22:06:12.654131"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 22:06:12.654916"], ["owner_id", 1], ["created_at", "2015-05-21 22:06:12.656065"], ["updated_at", "2015-05-21 22:06:12.656065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:06:12.658518"], ["updated_at", "2015-05-21 22:06:12.658518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:06:12.660763"], ["updated_at", "2015-05-21 22:06:12.660763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:06:12.662683"], ["updated_at", "2015-05-21 22:06:12.662683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:06:12.664764"], ["updated_at", "2015-05-21 22:06:12.664764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:06:12.386340"], ["owner_id", 1], ["created_at", "2015-05-21 22:06:12.666379"], ["updated_at", "2015-05-21 22:06:12.666379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (5.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:06:12.697671"], ["updated_at", "2015-05-21 22:06:12.697671"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:06:12.709200"], ["updated_at", "2015-05-21 22:06:12.709200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:06:12.710776"], ["updated_at", "2015-05-21 22:06:12.710776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:06:12.712819"], ["updated_at", "2015-05-21 22:06:12.712819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:06:12.715858"], ["updated_at", "2015-05-21 22:06:12.715858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:06:12.717194"], ["updated_at", "2015-05-21 22:06:12.717194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:06:12.718531"], ["updated_at", "2015-05-21 22:06:12.718531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 22:38:06.048020"], ["updated_at", "2015-05-21 22:38:06.048020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:06.067431"], ["updated_at", "2015-05-21 22:38:06.067431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:38:06.068574"], ["current_period_start", "2015-05-21 22:38:06.068574"], ["current_period_end", "2015-06-21 22:38:06.068574"], ["created_at", "2015-05-21 22:38:06.076384"], ["updated_at", "2015-05-21 22:38:06.076384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:06.080430"], ["updated_at", "2015-05-21 22:38:06.080430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:06.086969"], ["updated_at", "2015-05-21 22:38:06.086969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:38:05.890391"], ["owner_id", 1], ["created_at", "2015-05-21 22:38:06.089373"], ["updated_at", "2015-05-21 22:38:06.089373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:06.091491"], ["updated_at", "2015-05-21 22:38:06.091491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:38:06.093160"], ["updated_at", "2015-05-21 22:38:06.093160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:06.095877"], ["updated_at", "2015-05-21 22:38:06.095877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:38:06.097814"], ["updated_at", "2015-05-21 22:38:06.097814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:06.100076"], ["updated_at", "2015-05-21 22:38:06.100076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:38:05.890391"], ["owner_id", 1], ["created_at", "2015-05-21 22:38:06.101661"], ["updated_at", "2015-05-21 22:38:06.101661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:06.103679"], ["updated_at", "2015-05-21 22:38:06.103679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:38:06.105212"], ["updated_at", "2015-05-21 22:38:06.105212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:06.107049"], ["updated_at", "2015-05-21 22:38:06.107049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:38:05.890391"], ["owner_id", 1], ["created_at", "2015-05-21 22:38:06.108659"], ["updated_at", "2015-05-21 22:38:06.108659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 22:38:06.109401"], ["owner_id", 1], ["created_at", "2015-05-21 22:38:06.110352"], ["updated_at", "2015-05-21 22:38:06.110352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:06.112430"], ["updated_at", "2015-05-21 22:38:06.112430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:06.113922"], ["updated_at", "2015-05-21 22:38:06.113922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:38:06.115672"], ["updated_at", "2015-05-21 22:38:06.115672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:38:06.117395"], ["updated_at", "2015-05-21 22:38:06.117836"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:38:06.120288"], ["current_period_start", "2015-05-21 22:38:06.120288"], ["current_period_end", "2015-06-21 22:38:06.120288"], ["created_at", "2015-05-21 22:38:06.120859"], ["updated_at", "2015-05-21 22:38:06.120859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:06.123572"], ["updated_at", "2015-05-21 22:38:06.123572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:06.126044"], ["updated_at", "2015-05-21 22:38:06.126044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:38:06.127964"], ["current_period_start", "2015-05-21 22:38:06.127964"], ["current_period_end", "2015-06-21 22:38:06.127964"], ["created_at", "2015-05-21 22:38:06.129063"], ["updated_at", "2015-05-21 22:38:06.129063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 22:38:06.137313"], ["updated_at", "2015-05-21 22:38:06.137313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:38:06.138304"], ["updated_at", "2015-05-21 22:38:06.138729"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 22:38:06.140606"], ["created_at", "2015-05-21 22:38:06.141644"], ["updated_at", "2015-05-21 22:38:06.141644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:06.154284"], ["updated_at", "2015-05-21 22:38:06.154284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:38:06.175939"], ["updated_at", "2015-05-21 22:38:06.175939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:38:06.177402"], ["updated_at", "2015-05-21 22:38:06.177402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:06.178823"], ["updated_at", "2015-05-21 22:38:06.178823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:38:06.181343"], ["updated_at", "2015-05-21 22:38:06.181343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:38:06.182684"], ["updated_at", "2015-05-21 22:38:06.182684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:06.184055"], ["updated_at", "2015-05-21 22:38:06.184055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:06.199051"], ["updated_at", "2015-05-21 22:38:06.199051"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:06.201762"], ["updated_at", "2015-05-21 22:38:06.201762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 22:38:09.709581"], ["updated_at", "2015-05-21 22:38:09.709581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:09.728415"], ["updated_at", "2015-05-21 22:38:09.728415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:38:09.729874"], ["current_period_start", "2015-05-21 22:38:09.729874"], ["current_period_end", "2015-06-21 22:38:09.729874"], ["created_at", "2015-05-21 22:38:09.738124"], ["updated_at", "2015-05-21 22:38:09.738124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:09.756819"], ["updated_at", "2015-05-21 22:38:09.756819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:09.760369"], ["updated_at", "2015-05-21 22:38:09.760369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 22:38:09.763139"], ["updated_at", "2015-05-21 22:38:09.763139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:38:09.763949"], ["updated_at", "2015-05-21 22:38:09.764210"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 22:38:09.767151"], ["created_at", "2015-05-21 22:38:09.768129"], ["updated_at", "2015-05-21 22:38:09.768129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:09.774318"], ["updated_at", "2015-05-21 22:38:09.774318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:09.776018"], ["updated_at", "2015-05-21 22:38:09.776018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:38:09.777711"], ["updated_at", "2015-05-21 22:38:09.777711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:38:09.783661"], ["updated_at", "2015-05-21 22:38:09.784221"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:38:09.784892"], ["current_period_start", "2015-05-21 22:38:09.784892"], ["current_period_end", "2015-06-21 22:38:09.784892"], ["created_at", "2015-05-21 22:38:09.785445"], ["updated_at", "2015-05-21 22:38:09.785445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:09.788368"], ["updated_at", "2015-05-21 22:38:09.788368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:09.790651"], ["updated_at", "2015-05-21 22:38:09.790651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:38:09.792279"], ["current_period_start", "2015-05-21 22:38:09.792279"], ["current_period_end", "2015-06-21 22:38:09.792279"], ["created_at", "2015-05-21 22:38:09.792959"], ["updated_at", "2015-05-21 22:38:09.792959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:09.794553"], ["updated_at", "2015-05-21 22:38:09.794553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:38:09.796129"], ["updated_at", "2015-05-21 22:38:09.796129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:09.797993"], ["updated_at", "2015-05-21 22:38:09.797993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:38:09.557620"], ["owner_id", 1], ["created_at", "2015-05-21 22:38:09.799555"], ["updated_at", "2015-05-21 22:38:09.799555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 22:38:09.800361"], ["owner_id", 1], ["created_at", "2015-05-21 22:38:09.801272"], ["updated_at", "2015-05-21 22:38:09.801272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:09.804296"], ["updated_at", "2015-05-21 22:38:09.804296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:38:09.805806"], ["updated_at", "2015-05-21 22:38:09.805806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:09.807804"], ["updated_at", "2015-05-21 22:38:09.807804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:38:09.557620"], ["owner_id", 1], ["created_at", "2015-05-21 22:38:09.809293"], ["updated_at", "2015-05-21 22:38:09.809293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:09.811187"], ["updated_at", "2015-05-21 22:38:09.811187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:38:09.812715"], ["updated_at", "2015-05-21 22:38:09.812715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:09.814485"], ["updated_at", "2015-05-21 22:38:09.814485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:38:09.816041"], ["updated_at", "2015-05-21 22:38:09.816041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:38:09.557620"], ["owner_id", 1], ["created_at", "2015-05-21 22:38:09.817651"], ["updated_at", "2015-05-21 22:38:09.817651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:38:09.820954"], ["updated_at", "2015-05-21 22:38:09.820954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:38:09.822878"], ["updated_at", "2015-05-21 22:38:09.822878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:09.824742"], ["updated_at", "2015-05-21 22:38:09.824742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:09.850717"], ["updated_at", "2015-05-21 22:38:09.850717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:38:09.856838"], ["updated_at", "2015-05-21 22:38:09.856838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:38:09.858327"], ["updated_at", "2015-05-21 22:38:09.858327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:38:09.859648"], ["updated_at", "2015-05-21 22:38:09.859648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 22:45:51.391570"], ["updated_at", "2015-05-21 22:45:51.391570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:45:51.410306"], ["updated_at", "2015-05-21 22:45:51.410306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:45:51.411424"], ["current_period_start", "2015-05-21 22:45:51.411424"], ["current_period_end", "2015-06-21 22:45:51.411424"], ["created_at", "2015-05-21 22:45:51.419354"], ["updated_at", "2015-05-21 22:45:51.419354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:45:51.422053"], ["updated_at", "2015-05-21 22:45:51.422053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:45:51.424296"], ["updated_at", "2015-05-21 22:45:51.424296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:45:51.427077"], ["updated_at", "2015-05-21 22:45:51.427077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:45:51.433713"], ["updated_at", "2015-05-21 22:45:51.434333"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:45:51.436920"], ["current_period_start", "2015-05-21 22:45:51.436920"], ["current_period_end", "2015-06-21 22:45:51.436920"], ["created_at", "2015-05-21 22:45:51.437929"], ["updated_at", "2015-05-21 22:45:51.437929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:45:51.441744"], ["updated_at", "2015-05-21 22:45:51.441744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:45:51.443495"], ["updated_at", "2015-05-21 22:45:51.443495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:45:51.444781"], ["current_period_start", "2015-05-21 22:45:51.444781"], ["current_period_end", "2015-06-21 22:45:51.444781"], ["created_at", "2015-05-21 22:45:51.445449"], ["updated_at", "2015-05-21 22:45:51.445449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 22:45:51.447641"], ["updated_at", "2015-05-21 22:45:51.447641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:45:51.448436"], ["updated_at", "2015-05-21 22:45:51.448715"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 22:45:51.449782"], ["created_at", "2015-05-21 22:45:51.450626"], ["updated_at", "2015-05-21 22:45:51.450626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:45:51.453264"], ["updated_at", "2015-05-21 22:45:51.453264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:45:51.454794"], ["updated_at", "2015-05-21 22:45:51.454794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:45:51.456701"], ["updated_at", "2015-05-21 22:45:51.456701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:45:51.227466"], ["owner_id", 1], ["created_at", "2015-05-21 22:45:51.458266"], ["updated_at", "2015-05-21 22:45:51.458266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 22:45:51.459095"], ["owner_id", 1], ["created_at", "2015-05-21 22:45:51.460135"], ["updated_at", "2015-05-21 22:45:51.460135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:45:51.462171"], ["updated_at", "2015-05-21 22:45:51.462171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:45:51.463671"], ["updated_at", "2015-05-21 22:45:51.463671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:45:51.465556"], ["updated_at", "2015-05-21 22:45:51.465556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:45:51.227466"], ["owner_id", 1], ["created_at", "2015-05-21 22:45:51.467130"], ["updated_at", "2015-05-21 22:45:51.467130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:45:51.469703"], ["updated_at", "2015-05-21 22:45:51.469703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:45:51.471655"], ["updated_at", "2015-05-21 22:45:51.471655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:45:51.473805"], ["updated_at", "2015-05-21 22:45:51.473805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:45:51.475591"], ["updated_at", "2015-05-21 22:45:51.475591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:45:51.227466"], ["owner_id", 1], ["created_at", "2015-05-21 22:45:51.477345"], ["updated_at", "2015-05-21 22:45:51.477345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:45:51.496278"], ["updated_at", "2015-05-21 22:45:51.496278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:45:51.499673"], ["updated_at", "2015-05-21 22:45:51.499673"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:45:51.503014"], ["updated_at", "2015-05-21 22:45:51.503014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:45:51.504566"], ["updated_at", "2015-05-21 22:45:51.504566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:45:51.506083"], ["updated_at", "2015-05-21 22:45:51.506083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:45:51.532604"], ["updated_at", "2015-05-21 22:45:51.532604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:45:51.537354"], ["updated_at", "2015-05-21 22:45:51.537354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:45:51.538871"], ["updated_at", "2015-05-21 22:45:51.538871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:45:51.540326"], ["updated_at", "2015-05-21 22:45:51.540326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:47:54.314827"], ["updated_at", "2015-05-21 22:47:54.314827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:47:54.333873"], ["updated_at", "2015-05-21 22:47:54.333873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:47:54.342142"], ["current_period_start", "2015-05-21 22:47:54.342142"], ["current_period_end", "2015-06-21 22:47:54.342142"], ["created_at", "2015-05-21 22:47:54.348287"], ["updated_at", "2015-05-21 22:47:54.348287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:47:54.350432"], ["updated_at", "2015-05-21 22:47:54.350432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:47:54.352097"], ["updated_at", "2015-05-21 22:47:54.352097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:47:54.354378"], ["updated_at", "2015-05-21 22:47:54.354378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:47:54.355992"], ["updated_at", "2015-05-21 22:47:54.356460"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:47:54.358968"], ["current_period_start", "2015-05-21 22:47:54.358968"], ["current_period_end", "2015-06-21 22:47:54.358968"], ["created_at", "2015-05-21 22:47:54.359554"], ["updated_at", "2015-05-21 22:47:54.359554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:47:54.363150"], ["updated_at", "2015-05-21 22:47:54.363150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:47:54.368704"], ["updated_at", "2015-05-21 22:47:54.368704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:47:54.400979"], ["updated_at", "2015-05-21 22:47:54.400979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:47:54.159555"], ["owner_id", 1], ["created_at", "2015-05-21 22:47:54.402897"], ["updated_at", "2015-05-21 22:47:54.402897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:47:54.405100"], ["updated_at", "2015-05-21 22:47:54.405100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:47:54.406848"], ["updated_at", "2015-05-21 22:47:54.406848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:47:54.408888"], ["updated_at", "2015-05-21 22:47:54.408888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:47:54.410538"], ["updated_at", "2015-05-21 22:47:54.410538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:47:54.159555"], ["owner_id", 1], ["created_at", "2015-05-21 22:47:54.412092"], ["updated_at", "2015-05-21 22:47:54.412092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 22:47:54.412825"], ["owner_id", 1], ["created_at", "2015-05-21 22:47:54.413771"], ["updated_at", "2015-05-21 22:47:54.413771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:47:54.415691"], ["updated_at", "2015-05-21 22:47:54.415691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:47:54.417263"], ["updated_at", "2015-05-21 22:47:54.417263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:47:54.419201"], ["updated_at", "2015-05-21 22:47:54.419201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:47:54.159555"], ["owner_id", 1], ["created_at", "2015-05-21 22:47:54.420752"], ["updated_at", "2015-05-21 22:47:54.420752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:47:54.422635"], ["updated_at", "2015-05-21 22:47:54.422635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:47:54.424498"], ["updated_at", "2015-05-21 22:47:54.424498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 22:47:54.429125"], ["updated_at", "2015-05-21 22:47:54.429125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:47:54.431224"], ["updated_at", "2015-05-21 22:47:54.431224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:47:54.436668"], ["current_period_start", "2015-05-21 22:47:54.436668"], ["current_period_end", "2015-06-21 22:47:54.436668"], ["created_at", "2015-05-21 22:47:54.437437"], ["updated_at", "2015-05-21 22:47:54.437437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 22:47:54.439760"], ["created_at", "2015-05-21 22:47:54.440691"], ["updated_at", "2015-05-21 22:47:54.440691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 22:47:54.442715"], ["updated_at", "2015-05-21 22:47:54.442715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:47:54.443503"], ["updated_at", "2015-05-21 22:47:54.443845"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:47:54.446063"], ["updated_at", "2015-05-21 22:47:54.446063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:47:54.447578"], ["updated_at", "2015-05-21 22:47:54.447578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:47:54.449046"], ["updated_at", "2015-05-21 22:47:54.449046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:47:54.451501"], ["updated_at", "2015-05-21 22:47:54.451501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:47:54.452887"], ["updated_at", "2015-05-21 22:47:54.452887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:47:54.454229"], ["updated_at", "2015-05-21 22:47:54.454229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:47:54.465901"], ["updated_at", "2015-05-21 22:47:54.465901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:49:09.273640"], ["updated_at", "2015-05-21 22:49:09.273640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:49:09.292345"], ["updated_at", "2015-05-21 22:49:09.292345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:49:09.302253"], ["updated_at", "2015-05-21 22:49:09.302253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:49:09.309223"], ["updated_at", "2015-05-21 22:49:09.309837"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:49:09.312304"], ["current_period_start", "2015-05-21 22:49:09.312304"], ["current_period_end", "2015-06-21 22:49:09.312304"], ["created_at", "2015-05-21 22:49:09.313499"], ["updated_at", "2015-05-21 22:49:09.313499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:49:09.316414"], ["updated_at", "2015-05-21 22:49:09.316414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:49:09.318061"], ["updated_at", "2015-05-21 22:49:09.318061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:49:09.319218"], ["current_period_start", "2015-05-21 22:49:09.319218"], ["current_period_end", "2015-06-21 22:49:09.319218"], ["created_at", "2015-05-21 22:49:09.319880"], ["updated_at", "2015-05-21 22:49:09.319880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:49:09.322155"], ["updated_at", "2015-05-21 22:49:09.322155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:49:09.325120"], ["updated_at", "2015-05-21 22:49:09.325120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:49:09.328349"], ["updated_at", "2015-05-21 22:49:09.328349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:49:09.117668"], ["owner_id", 1], ["created_at", "2015-05-21 22:49:09.330495"], ["updated_at", "2015-05-21 22:49:09.330495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:49:09.333078"], ["updated_at", "2015-05-21 22:49:09.333078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:49:09.335016"], ["updated_at", "2015-05-21 22:49:09.335016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:49:09.337286"], ["updated_at", "2015-05-21 22:49:09.337286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:49:09.117668"], ["owner_id", 1], ["created_at", "2015-05-21 22:49:09.339218"], ["updated_at", "2015-05-21 22:49:09.339218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 22:49:09.340210"], ["owner_id", 1], ["created_at", "2015-05-21 22:49:09.341516"], ["updated_at", "2015-05-21 22:49:09.341516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:49:09.345361"], ["updated_at", "2015-05-21 22:49:09.345361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:49:09.347332"], ["updated_at", "2015-05-21 22:49:09.347332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:49:09.349373"], ["updated_at", "2015-05-21 22:49:09.349373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:49:09.351131"], ["updated_at", "2015-05-21 22:49:09.351131"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:49:09.117668"], ["owner_id", 1], ["created_at", "2015-05-21 22:49:09.352812"], ["updated_at", "2015-05-21 22:49:09.352812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 22:49:09.355705"], ["updated_at", "2015-05-21 22:49:09.355705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:49:09.357800"], ["updated_at", "2015-05-21 22:49:09.357800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:49:09.358679"], ["current_period_start", "2015-05-21 22:49:09.358679"], ["current_period_end", "2015-06-21 22:49:09.358679"], ["created_at", "2015-05-21 22:49:09.359351"], ["updated_at", "2015-05-21 22:49:09.359351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:49:09.362464"], ["updated_at", "2015-05-21 22:49:09.362464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:49:09.380164"], ["updated_at", "2015-05-21 22:49:09.380164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:49:09.382916"], ["updated_at", "2015-05-21 22:49:09.382916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:49:09.384606"], ["updated_at", "2015-05-21 22:49:09.384606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:49:09.386822"], ["updated_at", "2015-05-21 22:49:09.386822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:49:09.408824"], ["updated_at", "2015-05-21 22:49:09.408824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:49:09.417499"], ["updated_at", "2015-05-21 22:49:09.417499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:49:09.419268"], ["updated_at", "2015-05-21 22:49:09.419268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:49:09.420918"], ["updated_at", "2015-05-21 22:49:09.420918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 22:49:09.442556"], ["updated_at", "2015-05-21 22:49:09.442556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:49:09.443606"], ["updated_at", "2015-05-21 22:49:09.443962"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 22:49:09.445660"], ["created_at", "2015-05-21 22:49:09.446798"], ["updated_at", "2015-05-21 22:49:09.446798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 22:50:23.855996"], ["updated_at", "2015-05-21 22:50:23.855996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:23.875675"], ["updated_at", "2015-05-21 22:50:23.875675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:50:23.876860"], ["current_period_start", "2015-05-21 22:50:23.876860"], ["current_period_end", "2015-06-21 22:50:23.876860"], ["created_at", "2015-05-21 22:50:23.884224"], ["updated_at", "2015-05-21 22:50:23.884224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:23.896606"], ["updated_at", "2015-05-21 22:50:23.896606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:50:23.912237"], ["updated_at", "2015-05-21 22:50:23.912237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:50:23.913641"], ["updated_at", "2015-05-21 22:50:23.913641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:23.914992"], ["updated_at", "2015-05-21 22:50:23.914992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:50:23.920113"], ["updated_at", "2015-05-21 22:50:23.920113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:50:23.921503"], ["updated_at", "2015-05-21 22:50:23.921503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:23.922799"], ["updated_at", "2015-05-21 22:50:23.922799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:23.926561"], ["updated_at", "2015-05-21 22:50:23.926561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:23.928545"], ["updated_at", "2015-05-21 22:50:23.928545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:50:23.931002"], ["updated_at", "2015-05-21 22:50:23.931002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:50:23.936747"], ["updated_at", "2015-05-21 22:50:23.937275"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:50:23.938402"], ["current_period_start", "2015-05-21 22:50:23.938402"], ["current_period_end", "2015-06-21 22:50:23.938402"], ["created_at", "2015-05-21 22:50:23.938990"], ["updated_at", "2015-05-21 22:50:23.938990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:23.941506"], ["updated_at", "2015-05-21 22:50:23.941506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:23.943441"], ["updated_at", "2015-05-21 22:50:23.943441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:50:23.944774"], ["current_period_start", "2015-05-21 22:50:23.944774"], ["current_period_end", "2015-06-21 22:50:23.944774"], ["created_at", "2015-05-21 22:50:23.945541"], ["updated_at", "2015-05-21 22:50:23.945541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 22:50:23.947695"], ["updated_at", "2015-05-21 22:50:23.947695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:50:23.948492"], ["updated_at", "2015-05-21 22:50:23.948758"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 22:50:23.949773"], ["created_at", "2015-05-21 22:50:23.950524"], ["updated_at", "2015-05-21 22:50:23.950524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:23.966263"], ["updated_at", "2015-05-21 22:50:23.966263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:50:23.969625"], ["updated_at", "2015-05-21 22:50:23.969625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:23.976727"], ["updated_at", "2015-05-21 22:50:23.976727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:50:23.696671"], ["owner_id", 1], ["created_at", "2015-05-21 22:50:23.978579"], ["updated_at", "2015-05-21 22:50:23.978579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:23.980724"], ["updated_at", "2015-05-21 22:50:23.980724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:23.982372"], ["updated_at", "2015-05-21 22:50:23.982372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:50:23.983899"], ["updated_at", "2015-05-21 22:50:23.983899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:23.985618"], ["updated_at", "2015-05-21 22:50:23.985618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:50:23.696671"], ["owner_id", 1], ["created_at", "2015-05-21 22:50:23.987521"], ["updated_at", "2015-05-21 22:50:23.987521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:23.990190"], ["updated_at", "2015-05-21 22:50:23.990190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:50:23.991999"], ["updated_at", "2015-05-21 22:50:23.991999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:23.993927"], ["updated_at", "2015-05-21 22:50:23.993927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:50:23.696671"], ["owner_id", 1], ["created_at", "2015-05-21 22:50:23.995594"], ["updated_at", "2015-05-21 22:50:23.995594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 22:50:23.996361"], ["owner_id", 1], ["created_at", "2015-05-21 22:50:23.997326"], ["updated_at", "2015-05-21 22:50:23.997326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:24.010750"], ["updated_at", "2015-05-21 22:50:24.010750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:24.013362"], ["updated_at", "2015-05-21 22:50:24.013362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:40.726989"], ["updated_at", "2015-05-21 22:50:40.726989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:50:40.746082"], ["updated_at", "2015-05-21 22:50:40.746082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:40.756086"], ["updated_at", "2015-05-21 22:50:40.756086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:50:40.572651"], ["owner_id", 1], ["created_at", "2015-05-21 22:50:40.758392"], ["updated_at", "2015-05-21 22:50:40.758392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:40.760973"], ["updated_at", "2015-05-21 22:50:40.760973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:40.762976"], ["updated_at", "2015-05-21 22:50:40.762976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:50:40.572651"], ["owner_id", 1], ["created_at", "2015-05-21 22:50:40.764749"], ["updated_at", "2015-05-21 22:50:40.764749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 22:50:40.765560"], ["owner_id", 1], ["created_at", "2015-05-21 22:50:40.766698"], ["updated_at", "2015-05-21 22:50:40.766698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:40.768867"], ["updated_at", "2015-05-21 22:50:40.768867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:50:40.770485"], ["updated_at", "2015-05-21 22:50:40.770485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:40.772491"], ["updated_at", "2015-05-21 22:50:40.772491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:50:40.572651"], ["owner_id", 1], ["created_at", "2015-05-21 22:50:40.774671"], ["updated_at", "2015-05-21 22:50:40.774671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:40.777044"], ["updated_at", "2015-05-21 22:50:40.777044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:50:40.778654"], ["updated_at", "2015-05-21 22:50:40.778654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 22:50:40.781851"], ["updated_at", "2015-05-21 22:50:40.781851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:40.790301"], ["updated_at", "2015-05-21 22:50:40.790301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:50:40.791229"], ["current_period_start", "2015-05-21 22:50:40.791229"], ["current_period_end", "2015-06-21 22:50:40.791229"], ["created_at", "2015-05-21 22:50:40.792500"], ["updated_at", "2015-05-21 22:50:40.792500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 22:50:40.794431"], ["created_at", "2015-05-21 22:50:40.795314"], ["updated_at", "2015-05-21 22:50:40.795314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 22:50:40.797147"], ["updated_at", "2015-05-21 22:50:40.797147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:50:40.797888"], ["updated_at", "2015-05-21 22:50:40.798166"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:40.814963"], ["updated_at", "2015-05-21 22:50:40.814963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:40.816811"], ["updated_at", "2015-05-21 22:50:40.816811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:50:40.818383"], ["current_period_start", "2015-05-21 22:50:40.818383"], ["current_period_end", "2015-06-21 22:50:40.818383"], ["created_at", "2015-05-21 22:50:40.819038"], ["updated_at", "2015-05-21 22:50:40.819038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:50:40.820541"], ["updated_at", "2015-05-21 22:50:40.820541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:40.822055"], ["updated_at", "2015-05-21 22:50:40.822055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:50:40.823833"], ["updated_at", "2015-05-21 22:50:40.823833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:50:40.825135"], ["updated_at", "2015-05-21 22:50:40.825548"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:50:40.826188"], ["current_period_start", "2015-05-21 22:50:40.826188"], ["current_period_end", "2015-06-21 22:50:40.826188"], ["created_at", "2015-05-21 22:50:40.826749"], ["updated_at", "2015-05-21 22:50:40.826749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:50:40.830405"], ["updated_at", "2015-05-21 22:50:40.830405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:50:40.831885"], ["updated_at", "2015-05-21 22:50:40.831885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:40.833228"], ["updated_at", "2015-05-21 22:50:40.833228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:50:40.836402"], ["updated_at", "2015-05-21 22:50:40.836402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:50:40.838162"], ["updated_at", "2015-05-21 22:50:40.838162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:40.839604"], ["updated_at", "2015-05-21 22:50:40.839604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:40.869280"], ["updated_at", "2015-05-21 22:50:40.869280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:40.873603"], ["updated_at", "2015-05-21 22:50:40.873603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:50:40.877994"], ["updated_at", "2015-05-21 22:50:40.877994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:53:36.130346"], ["updated_at", "2015-05-21 22:53:36.130346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:53:36.132921"], ["updated_at", "2015-05-21 22:53:36.132921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:53:36.134685"], ["updated_at", "2015-05-21 22:53:36.134685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.2ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:53:36.149831"], ["updated_at", "2015-05-21 22:53:36.149831"]] [36m (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:53:36.166891"], ["updated_at", "2015-05-21 22:53:36.166891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:53:36.168336"], ["updated_at", "2015-05-21 22:53:36.168336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:53:36.169797"], ["updated_at", "2015-05-21 22:53:36.169797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:53:36.173785"], ["updated_at", "2015-05-21 22:53:36.173785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:53:36.182361"], ["updated_at", "2015-05-21 22:53:36.182361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:53:36.191836"], ["updated_at", "2015-05-21 22:53:36.191836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:53:35.953759"], ["owner_id", 1], ["created_at", "2015-05-21 22:53:36.194186"], ["updated_at", "2015-05-21 22:53:36.194186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:53:36.196698"], ["updated_at", "2015-05-21 22:53:36.196698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:53:36.198511"], ["updated_at", "2015-05-21 22:53:36.198511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:53:36.200615"], ["updated_at", "2015-05-21 22:53:36.200615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:53:35.953759"], ["owner_id", 1], ["created_at", "2015-05-21 22:53:36.202357"], ["updated_at", "2015-05-21 22:53:36.202357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 22:53:36.203279"], ["owner_id", 1], ["created_at", "2015-05-21 22:53:36.204382"], ["updated_at", "2015-05-21 22:53:36.204382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:53:36.207617"], ["updated_at", "2015-05-21 22:53:36.207617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:53:36.209232"], ["updated_at", "2015-05-21 22:53:36.209232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:53:36.211077"], ["updated_at", "2015-05-21 22:53:36.211077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:53:36.212649"], ["updated_at", "2015-05-21 22:53:36.212649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:53:35.953759"], ["owner_id", 1], ["created_at", "2015-05-21 22:53:36.214242"], ["updated_at", "2015-05-21 22:53:36.214242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 22:53:36.237204"], ["updated_at", "2015-05-21 22:53:36.237204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:53:36.238167"], ["updated_at", "2015-05-21 22:53:36.238476"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 22:53:36.241092"], ["created_at", "2015-05-21 22:53:36.242624"], ["updated_at", "2015-05-21 22:53:36.242624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:53:36.247077"], ["updated_at", "2015-05-21 22:53:36.247077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:53:36.266890"], ["updated_at", "2015-05-21 22:53:36.266890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:53:36.269081"], ["updated_at", "2015-05-21 22:53:36.269081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:53:36.270725"], ["updated_at", "2015-05-21 22:53:36.270725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:53:36.272463"], ["updated_at", "2015-05-21 22:53:36.272463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:53:36.274206"], ["updated_at", "2015-05-21 22:53:36.274648"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:53:36.275310"], ["current_period_start", "2015-05-21 22:53:36.275310"], ["current_period_end", "2015-06-21 22:53:36.275310"], ["created_at", "2015-05-21 22:53:36.275909"], ["updated_at", "2015-05-21 22:53:36.275909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:53:36.277875"], ["updated_at", "2015-05-21 22:53:36.277875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:53:36.279376"], ["updated_at", "2015-05-21 22:53:36.279376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:53:36.280511"], ["current_period_start", "2015-05-21 22:53:36.280511"], ["current_period_end", "2015-06-21 22:53:36.280511"], ["created_at", "2015-05-21 22:53:36.281082"], ["updated_at", "2015-05-21 22:53:36.281082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 22:53:36.283370"], ["updated_at", "2015-05-21 22:53:36.283370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:53:36.285527"], ["updated_at", "2015-05-21 22:53:36.285527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:53:36.286282"], ["current_period_start", "2015-05-21 22:53:36.286282"], ["current_period_end", "2015-06-21 22:53:36.286282"], ["created_at", "2015-05-21 22:53:36.286914"], ["updated_at", "2015-05-21 22:53:36.286914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:54:03.274152"], ["updated_at", "2015-05-21 22:54:03.274152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:54:03.292864"], ["updated_at", "2015-05-21 22:54:03.292864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:54:03.302960"], ["updated_at", "2015-05-21 22:54:03.302960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:54:03.310278"], ["updated_at", "2015-05-21 22:54:03.310870"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:54:03.313334"], ["current_period_start", "2015-05-21 22:54:03.313334"], ["current_period_end", "2015-06-21 22:54:03.313334"], ["created_at", "2015-05-21 22:54:03.314488"], ["updated_at", "2015-05-21 22:54:03.314488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:54:03.317403"], ["updated_at", "2015-05-21 22:54:03.317403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:54:03.319013"], ["updated_at", "2015-05-21 22:54:03.319013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:54:03.320227"], ["current_period_start", "2015-05-21 22:54:03.320227"], ["current_period_end", "2015-06-21 22:54:03.320227"], ["created_at", "2015-05-21 22:54:03.321009"], ["updated_at", "2015-05-21 22:54:03.321009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:54:03.324949"], ["updated_at", "2015-05-21 22:54:03.324949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:54:03.327614"], ["updated_at", "2015-05-21 22:54:03.327614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:54:03.329894"], ["updated_at", "2015-05-21 22:54:03.329894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:54:03.112915"], ["owner_id", 1], ["created_at", "2015-05-21 22:54:03.331577"], ["updated_at", "2015-05-21 22:54:03.331577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 22:54:03.332395"], ["owner_id", 1], ["created_at", "2015-05-21 22:54:03.333405"], ["updated_at", "2015-05-21 22:54:03.333405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:54:03.335437"], ["updated_at", "2015-05-21 22:54:03.335437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:54:03.337009"], ["updated_at", "2015-05-21 22:54:03.337009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:54:03.339062"], ["updated_at", "2015-05-21 22:54:03.339062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:54:03.112915"], ["owner_id", 1], ["created_at", "2015-05-21 22:54:03.341381"], ["updated_at", "2015-05-21 22:54:03.341381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:54:03.344782"], ["updated_at", "2015-05-21 22:54:03.344782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:54:03.347054"], ["updated_at", "2015-05-21 22:54:03.347054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 22:54:03.349096"], ["updated_at", "2015-05-21 22:54:03.349096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 22:54:03.351403"], ["updated_at", "2015-05-21 22:54:03.351403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 22:54:03.112915"], ["owner_id", 1], ["created_at", "2015-05-21 22:54:03.353413"], ["updated_at", "2015-05-21 22:54:03.353413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:54:03.391048"], ["updated_at", "2015-05-21 22:54:03.391048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:54:03.393977"], ["updated_at", "2015-05-21 22:54:03.393977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:54:03.411227"], ["updated_at", "2015-05-21 22:54:03.411227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:54:03.424726"], ["updated_at", "2015-05-21 22:54:03.424726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 22:54:03.426386"], ["updated_at", "2015-05-21 22:54:03.426386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:54:03.427843"], ["updated_at", "2015-05-21 22:54:03.427843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:54:03.430380"], ["updated_at", "2015-05-21 22:54:03.430380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 22:54:03.431800"], ["updated_at", "2015-05-21 22:54:03.431800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:54:03.433159"], ["updated_at", "2015-05-21 22:54:03.433159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 22:54:03.434981"], ["updated_at", "2015-05-21 22:54:03.434981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 22:54:03.436498"], ["updated_at", "2015-05-21 22:54:03.436498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 22:54:03.437190"], ["current_period_start", "2015-05-21 22:54:03.437190"], ["current_period_end", "2015-06-21 22:54:03.437190"], ["created_at", "2015-05-21 22:54:03.437831"], ["updated_at", "2015-05-21 22:54:03.437831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 22:54:03.440538"], ["updated_at", "2015-05-21 22:54:03.440538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 22:54:03.441479"], ["updated_at", "2015-05-21 22:54:03.441773"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 22:54:03.442895"], ["created_at", "2015-05-21 22:54:03.443717"], ["updated_at", "2015-05-21 22:54:03.443717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:00:22.644519"], ["updated_at", "2015-05-21 23:00:22.644519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 23:00:22.496759"], ["owner_id", 1], ["created_at", "2015-05-21 23:00:22.661251"], ["updated_at", "2015-05-21 23:00:22.661251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 23:00:22.662598"], ["owner_id", 1], ["created_at", "2015-05-21 23:00:22.663855"], ["updated_at", "2015-05-21 23:00:22.663855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:00:22.672135"], ["updated_at", "2015-05-21 23:00:22.672135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 23:00:22.674071"], ["updated_at", "2015-05-21 23:00:22.674071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:00:22.676404"], ["updated_at", "2015-05-21 23:00:22.676404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:00:22.677995"], ["updated_at", "2015-05-21 23:00:22.677995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 23:00:22.496759"], ["owner_id", 1], ["created_at", "2015-05-21 23:00:22.679501"], ["updated_at", "2015-05-21 23:00:22.679501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:00:22.681324"], ["updated_at", "2015-05-21 23:00:22.681324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 23:00:22.682788"], ["updated_at", "2015-05-21 23:00:22.682788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:00:22.685568"], ["updated_at", "2015-05-21 23:00:22.685568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 23:00:22.496759"], ["owner_id", 1], ["created_at", "2015-05-21 23:00:22.687177"], ["updated_at", "2015-05-21 23:00:22.687177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:00:22.688970"], ["updated_at", "2015-05-21 23:00:22.688970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 23:00:22.690415"], ["updated_at", "2015-05-21 23:00:22.690415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 23:00:22.694104"], ["created_at", "2015-05-21 23:00:22.695281"], ["updated_at", "2015-05-21 23:00:22.695281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 23:00:22.697518"], ["updated_at", "2015-05-21 23:00:22.697518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 23:00:22.698392"], ["updated_at", "2015-05-21 23:00:22.698681"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 23:00:22.702616"], ["updated_at", "2015-05-21 23:00:22.702616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:00:22.711232"], ["updated_at", "2015-05-21 23:00:22.711232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 23:00:22.712881"], ["current_period_start", "2015-05-21 23:00:22.712881"], ["current_period_end", "2015-06-21 23:00:22.712881"], ["created_at", "2015-05-21 23:00:22.714551"], ["updated_at", "2015-05-21 23:00:22.714551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:00:22.723513"], ["updated_at", "2015-05-21 23:00:22.723513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 23:00:22.743546"], ["updated_at", "2015-05-21 23:00:22.743546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 23:00:22.744998"], ["updated_at", "2015-05-21 23:00:22.744998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:00:22.746328"], ["updated_at", "2015-05-21 23:00:22.746328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 23:00:22.749643"], ["updated_at", "2015-05-21 23:00:22.749643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 23:00:22.751023"], ["updated_at", "2015-05-21 23:00:22.751023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:00:22.752363"], ["updated_at", "2015-05-21 23:00:22.752363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:00:22.780950"], ["updated_at", "2015-05-21 23:00:22.780950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:00:22.794897"], ["updated_at", "2015-05-21 23:00:22.794897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:00:22.796854"], ["updated_at", "2015-05-21 23:00:22.796854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:00:22.798192"], ["updated_at", "2015-05-21 23:00:22.798192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 23:00:22.799626"], ["current_period_start", "2015-05-21 23:00:22.799626"], ["current_period_end", "2015-06-21 23:00:22.799626"], ["created_at", "2015-05-21 23:00:22.800281"], ["updated_at", "2015-05-21 23:00:22.800281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:00:22.801665"], ["updated_at", "2015-05-21 23:00:22.801665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:00:22.803223"], ["updated_at", "2015-05-21 23:00:22.803223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 23:00:22.804803"], ["updated_at", "2015-05-21 23:00:22.804803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 23:00:22.805987"], ["updated_at", "2015-05-21 23:00:22.806379"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 23:00:22.807043"], ["current_period_start", "2015-05-21 23:00:22.807043"], ["current_period_end", "2015-06-21 23:00:22.807043"], ["created_at", "2015-05-21 23:00:22.807585"], ["updated_at", "2015-05-21 23:00:22.807585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 23:14:36.215288"], ["updated_at", "2015-05-21 23:14:36.215288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-21 23:14:36.217227"], ["updated_at", "2015-05-21 23:14:36.217227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:14:36.218664"], ["updated_at", "2015-05-21 23:14:36.218664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 23:14:36.225188"], ["updated_at", "2015-05-21 23:14:36.225188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-21 23:14:36.227219"], ["updated_at", "2015-05-21 23:14:36.227219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:14:36.229171"], ["updated_at", "2015-05-21 23:14:36.229171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:14:36.244148"], ["updated_at", "2015-05-21 23:14:36.244148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 23:14:36.257974"], ["created_at", "2015-05-21 23:14:36.263205"], ["updated_at", "2015-05-21 23:14:36.263205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-21 23:14:36.265703"], ["updated_at", "2015-05-21 23:14:36.265703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 23:14:36.266453"], ["updated_at", "2015-05-21 23:14:36.266729"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:14:36.294724"], ["updated_at", "2015-05-21 23:14:36.294724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:14:36.297423"], ["updated_at", "2015-05-21 23:14:36.297423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 23:14:36.305967"], ["current_period_start", "2015-05-21 23:14:36.305967"], ["current_period_end", "2015-06-21 23:14:36.305967"], ["created_at", "2015-05-21 23:14:36.308639"], ["updated_at", "2015-05-21 23:14:36.308639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:14:36.310564"], ["updated_at", "2015-05-21 23:14:36.310564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:14:36.312950"], ["updated_at", "2015-05-21 23:14:36.312950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 23:14:36.314885"], ["updated_at", "2015-05-21 23:14:36.314885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-21 23:14:36.316362"], ["updated_at", "2015-05-21 23:14:36.316832"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 23:14:36.317532"], ["current_period_start", "2015-05-21 23:14:36.317532"], ["current_period_end", "2015-06-21 23:14:36.317532"], ["created_at", "2015-05-21 23:14:36.318144"], ["updated_at", "2015-05-21 23:14:36.318144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:14:36.326232"], ["updated_at", "2015-05-21 23:14:36.326232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:14:36.328996"], ["updated_at", "2015-05-21 23:14:36.328996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-21 23:14:36.344224"], ["updated_at", "2015-05-21 23:14:36.344224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-21 23:14:36.346031"], ["updated_at", "2015-05-21 23:14:36.346031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-21 23:14:36.346751"], ["current_period_start", "2015-05-21 23:14:36.346751"], ["current_period_end", "2015-06-21 23:14:36.346751"], ["created_at", "2015-05-21 23:14:36.347376"], ["updated_at", "2015-05-21 23:14:36.347376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:14:36.349102"], ["updated_at", "2015-05-21 23:14:36.349102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 23:14:36.048445"], ["owner_id", 1], ["created_at", "2015-05-21 23:14:36.350695"], ["updated_at", "2015-05-21 23:14:36.350695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:14:36.352689"], ["updated_at", "2015-05-21 23:14:36.352689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 23:14:36.354362"], ["updated_at", "2015-05-21 23:14:36.354362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:14:36.356202"], ["updated_at", "2015-05-21 23:14:36.356202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:14:36.357853"], ["updated_at", "2015-05-21 23:14:36.357853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 23:14:36.048445"], ["owner_id", 1], ["created_at", "2015-05-21 23:14:36.359352"], ["updated_at", "2015-05-21 23:14:36.359352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:14:36.361327"], ["updated_at", "2015-05-21 23:14:36.361327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 23:14:36.362877"], ["updated_at", "2015-05-21 23:14:36.362877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:14:36.364777"], ["updated_at", "2015-05-21 23:14:36.364777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 23:14:36.048445"], ["owner_id", 1], ["created_at", "2015-05-21 23:14:36.366263"], ["updated_at", "2015-05-21 23:14:36.366263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-16 23:14:36.366970"], ["owner_id", 1], ["created_at", "2015-05-21 23:14:36.367924"], ["updated_at", "2015-05-21 23:14:36.367924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-21 23:14:36.369730"], ["updated_at", "2015-05-21 23:14:36.369730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-21 23:14:36.371303"], ["updated_at", "2015-05-21 23:14:36.371303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 15:07:59.839164"], ["updated_at", "2015-05-22 15:07:59.839164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 15:07:59.893566"], ["updated_at", "2015-05-22 15:07:59.893566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 15:07:59.903776"], ["updated_at", "2015-05-22 15:07:59.903776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 15:07:59.946393"], ["updated_at", "2015-05-22 15:07:59.947139"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 15:07:59.977819"], ["current_period_start", "2015-05-22 15:07:59.977819"], ["current_period_end", "2015-06-22 15:07:59.977819"], ["created_at", "2015-05-22 15:07:59.979176"], ["updated_at", "2015-05-22 15:07:59.979176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 15:07:59.982284"], ["updated_at", "2015-05-22 15:07:59.982284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 15:07:59.983881"], ["updated_at", "2015-05-22 15:07:59.983881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 15:07:59.985701"], ["current_period_start", "2015-05-22 15:07:59.985701"], ["current_period_end", "2015-06-22 15:07:59.985701"], ["created_at", "2015-05-22 15:07:59.986562"], ["updated_at", "2015-05-22 15:07:59.986562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 15:08:00.004100"], ["updated_at", "2015-05-22 15:08:00.004100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 15:08:00.006374"], ["updated_at", "2015-05-22 15:08:00.006374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 15:08:00.007172"], ["current_period_start", "2015-05-22 15:08:00.007172"], ["current_period_end", "2015-06-22 15:08:00.007172"], ["created_at", "2015-05-22 15:08:00.008038"], ["updated_at", "2015-05-22 15:08:00.008038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 15:08:00.071143"], ["updated_at", "2015-05-22 15:08:00.071143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 15:08:00.085463"], ["updated_at", "2015-05-22 15:08:00.085463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 15:08:00.087386"], ["updated_at", "2015-05-22 15:08:00.087386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 15:08:00.089062"], ["updated_at", "2015-05-22 15:08:00.089062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 15:08:00.092464"], ["updated_at", "2015-05-22 15:08:00.092464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 15:08:00.094711"], ["updated_at", "2015-05-22 15:08:00.094711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 15:08:00.096394"], ["updated_at", "2015-05-22 15:08:00.096394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 15:08:00.111479"], ["updated_at", "2015-05-22 15:08:00.111479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 15:08:00.115942"], ["updated_at", "2015-05-22 15:08:00.115942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 15:08:00.121325"], ["updated_at", "2015-05-22 15:08:00.121325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 15:08:00.123296"], ["updated_at", "2015-05-22 15:08:00.123296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 15:08:00.130133"], ["updated_at", "2015-05-22 15:08:00.130133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 15:07:59.217727"], ["owner_id", 1], ["created_at", "2015-05-22 15:08:00.132699"], ["updated_at", "2015-05-22 15:08:00.132699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 15:08:00.135775"], ["updated_at", "2015-05-22 15:08:00.135775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 15:08:00.137561"], ["updated_at", "2015-05-22 15:08:00.137561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 15:08:00.139854"], ["updated_at", "2015-05-22 15:08:00.139854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 15:07:59.217727"], ["owner_id", 1], ["created_at", "2015-05-22 15:08:00.141392"], ["updated_at", "2015-05-22 15:08:00.141392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 15:08:00.142105"], ["owner_id", 1], ["created_at", "2015-05-22 15:08:00.143068"], ["updated_at", "2015-05-22 15:08:00.143068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 15:08:00.145023"], ["updated_at", "2015-05-22 15:08:00.145023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 15:08:00.146565"], ["updated_at", "2015-05-22 15:08:00.146565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 15:08:00.148439"], ["updated_at", "2015-05-22 15:08:00.148439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 15:08:00.151253"], ["updated_at", "2015-05-22 15:08:00.151253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 15:07:59.217727"], ["owner_id", 1], ["created_at", "2015-05-22 15:08:00.153497"], ["updated_at", "2015-05-22 15:08:00.153497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 15:08:00.156783"], ["updated_at", "2015-05-22 15:08:00.156783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 15:08:00.157676"], ["updated_at", "2015-05-22 15:08:00.157962"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 15:08:00.159085"], ["created_at", "2015-05-22 15:08:00.159964"], ["updated_at", "2015-05-22 15:08:00.159964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:04:11.011552"], ["created_at", "2015-05-22 16:04:11.023138"], ["updated_at", "2015-05-22 16:04:11.023138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:04:46.728516"], ["created_at", "2015-05-22 16:04:46.739824"], ["updated_at", "2015-05-22 16:04:46.739824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:04:53.696561"], ["created_at", "2015-05-22 16:04:53.709773"], ["updated_at", "2015-05-22 16:04:53.709773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:17:56.819358"], ["created_at", "2015-05-22 16:17:56.821522"], ["updated_at", "2015-05-22 16:17:56.821522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:18:13.836945"], ["created_at", "2015-05-22 16:18:13.851152"], ["updated_at", "2015-05-22 16:18:13.851152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:18:28.990680"], ["created_at", "2015-05-22 16:18:29.002206"], ["updated_at", "2015-05-22 16:18:29.002206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:19:20.597417"], ["created_at", "2015-05-22 16:19:20.609572"], ["updated_at", "2015-05-22 16:19:20.609572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:19:51.606427"], ["created_at", "2015-05-22 16:19:51.619806"], ["updated_at", "2015-05-22 16:19:51.619806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:20:14.494597"], ["created_at", "2015-05-22 16:20:14.508422"], ["updated_at", "2015-05-22 16:20:14.508422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:25:09.106927"], ["created_at", "2015-05-22 16:25:09.108660"], ["updated_at", "2015-05-22 16:25:09.108660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:35:40.766271"], ["created_at", "2015-05-22 16:35:40.768155"], ["updated_at", "2015-05-22 16:35:40.768155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:46:02.518463"], ["created_at", "2015-05-22 16:46:02.520401"], ["updated_at", "2015-05-22 16:46:02.520401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:46:14.152802"], ["created_at", "2015-05-22 16:46:14.155104"], ["updated_at", "2015-05-22 16:46:14.155104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:47:05.942823"], ["created_at", "2015-05-22 16:47:05.944638"], ["updated_at", "2015-05-22 16:47:05.944638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:47:20.767291"], ["created_at", "2015-05-22 16:47:20.775796"], ["updated_at", "2015-05-22 16:47:20.775796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:48:38.550779"], ["created_at", "2015-05-22 16:48:38.552596"], ["updated_at", "2015-05-22 16:48:38.552596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:48:48.674797"], ["created_at", "2015-05-22 16:48:48.676670"], ["updated_at", "2015-05-22 16:48:48.676670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:51:06.614543"], ["created_at", "2015-05-22 16:51:06.623159"], ["updated_at", "2015-05-22 16:51:06.623159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:52:12.943063"], ["created_at", "2015-05-22 16:52:12.955103"], ["updated_at", "2015-05-22 16:52:12.955103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:52:24.339429"], ["created_at", "2015-05-22 16:52:24.352245"], ["updated_at", "2015-05-22 16:52:24.352245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:52:44.481263"], ["created_at", "2015-05-22 16:52:44.483149"], ["updated_at", "2015-05-22 16:52:44.483149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:53:24.600027"], ["created_at", "2015-05-22 16:53:24.613392"], ["updated_at", "2015-05-22 16:53:24.613392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:53:30.688951"], ["created_at", "2015-05-22 16:53:30.691262"], ["updated_at", "2015-05-22 16:53:30.691262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:54:45.279799"], ["created_at", "2015-05-22 16:54:45.281622"], ["updated_at", "2015-05-22 16:54:45.281622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:57:12.189547"], ["created_at", "2015-05-22 16:57:12.192495"], ["updated_at", "2015-05-22 16:57:12.192495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:57:28.803583"], ["created_at", "2015-05-22 16:57:28.805636"], ["updated_at", "2015-05-22 16:57:28.805636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:57:39.851593"], ["created_at", "2015-05-22 16:57:39.863636"], ["updated_at", "2015-05-22 16:57:39.863636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 16:58:36.815021"], ["created_at", "2015-05-22 16:58:36.817642"], ["updated_at", "2015-05-22 16:58:36.817642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:01:08.476415"], ["created_at", "2015-05-22 17:01:08.484936"], ["updated_at", "2015-05-22 17:01:08.484936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:01:24.461865"], ["created_at", "2015-05-22 17:01:24.464517"], ["updated_at", "2015-05-22 17:01:24.464517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:03:07.688983"], ["created_at", "2015-05-22 17:03:07.702495"], ["updated_at", "2015-05-22 17:03:07.702495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:03:36.622317"], ["created_at", "2015-05-22 17:03:36.624531"], ["updated_at", "2015-05-22 17:03:36.624531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:03:43.153241"], ["created_at", "2015-05-22 17:03:43.167538"], ["updated_at", "2015-05-22 17:03:43.167538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:03:47.676188"], ["created_at", "2015-05-22 17:03:47.678278"], ["updated_at", "2015-05-22 17:03:47.678278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:03:55.401297"], ["created_at", "2015-05-22 17:03:55.413737"], ["updated_at", "2015-05-22 17:03:55.413737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:04:16.911839"], ["created_at", "2015-05-22 17:04:16.914484"], ["updated_at", "2015-05-22 17:04:16.914484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:04:22.170212"], ["created_at", "2015-05-22 17:04:22.172245"], ["updated_at", "2015-05-22 17:04:22.172245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:05:09.281524"], ["created_at", "2015-05-22 17:05:09.284114"], ["updated_at", "2015-05-22 17:05:09.284114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:05:25.373134"], ["updated_at", "2015-05-22 17:05:25.373134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:05:25.210719"], ["owner_id", 1], ["created_at", "2015-05-22 17:05:25.384708"], ["updated_at", "2015-05-22 17:05:25.384708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:05:25.393876"], ["updated_at", "2015-05-22 17:05:25.393876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 17:05:25.396044"], ["updated_at", "2015-05-22 17:05:25.396044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:05:25.398478"], ["updated_at", "2015-05-22 17:05:25.398478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:05:25.210719"], ["owner_id", 1], ["created_at", "2015-05-22 17:05:25.400238"], ["updated_at", "2015-05-22 17:05:25.400238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 17:05:25.401011"], ["owner_id", 1], ["created_at", "2015-05-22 17:05:25.402040"], ["updated_at", "2015-05-22 17:05:25.402040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:05:25.403999"], ["updated_at", "2015-05-22 17:05:25.403999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 17:05:25.405519"], ["updated_at", "2015-05-22 17:05:25.405519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:05:25.407341"], ["updated_at", "2015-05-22 17:05:25.407341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 17:05:25.408809"], ["updated_at", "2015-05-22 17:05:25.408809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:05:25.410564"], ["updated_at", "2015-05-22 17:05:25.410564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:05:25.210719"], ["owner_id", 1], ["created_at", "2015-05-22 17:05:25.412037"], ["updated_at", "2015-05-22 17:05:25.412037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:05:25.414027"], ["updated_at", "2015-05-22 17:05:25.414027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 17:05:25.417919"], ["updated_at", "2015-05-22 17:05:25.417919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:05:25.427899"], ["updated_at", "2015-05-22 17:05:25.427899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 17:05:25.428832"], ["current_period_start", "2015-05-22 17:05:25.428832"], ["current_period_end", "2015-06-22 17:05:25.428832"], ["created_at", "2015-05-22 17:05:25.430212"], ["updated_at", "2015-05-22 17:05:25.430212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 17:05:25.433249"], ["updated_at", "2015-05-22 17:05:25.433249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 17:05:25.434984"], ["updated_at", "2015-05-22 17:05:25.434984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:05:25.436601"], ["updated_at", "2015-05-22 17:05:25.436601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 17:05:25.441399"], ["updated_at", "2015-05-22 17:05:25.441399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 17:05:25.442862"], ["updated_at", "2015-05-22 17:05:25.442862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:05:25.444159"], ["updated_at", "2015-05-22 17:05:25.444159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:05:25.457788"], ["updated_at", "2015-05-22 17:05:25.457788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:05:25.472537"], ["created_at", "2015-05-22 17:05:25.473666"], ["updated_at", "2015-05-22 17:05:25.473666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 17:05:25.475866"], ["updated_at", "2015-05-22 17:05:25.475866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 17:05:25.477479"], ["updated_at", "2015-05-22 17:05:25.477854"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:05:25.493336"], ["created_at", "2015-05-22 17:05:25.494149"], ["updated_at", "2015-05-22 17:05:25.494149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:05:25.495849"], ["updated_at", "2015-05-22 17:05:25.495849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:05:25.497541"], ["updated_at", "2015-05-22 17:05:25.497541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 17:05:25.499029"], ["current_period_start", "2015-05-22 17:05:25.499029"], ["current_period_end", "2015-06-22 17:05:25.499029"], ["created_at", "2015-05-22 17:05:25.499786"], ["updated_at", "2015-05-22 17:05:25.499786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:05:25.501197"], ["updated_at", "2015-05-22 17:05:25.501197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:05:25.502640"], ["updated_at", "2015-05-22 17:05:25.502640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 17:05:25.504983"], ["updated_at", "2015-05-22 17:05:25.504983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 17:05:25.506779"], ["updated_at", "2015-05-22 17:05:25.507610"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 17:05:25.508940"], ["current_period_start", "2015-05-22 17:05:25.508940"], ["current_period_end", "2015-06-22 17:05:25.508940"], ["created_at", "2015-05-22 17:05:25.509723"], ["updated_at", "2015-05-22 17:05:25.509723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:05:25.531810"], ["updated_at", "2015-05-22 17:05:25.531810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:05:25.536249"], ["updated_at", "2015-05-22 17:05:25.536249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.5ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:54:30.559614"], ["updated_at", "2015-05-22 17:54:30.559614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:54:30.572263"], ["updated_at", "2015-05-22 17:54:30.572263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 17:54:30.580665"], ["current_period_start", "2015-05-22 17:54:30.580665"], ["current_period_end", "2015-06-22 17:54:30.580665"], ["created_at", "2015-05-22 17:54:30.586543"], ["updated_at", "2015-05-22 17:54:30.586543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:54:30.588581"], ["updated_at", "2015-05-22 17:54:30.588581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:54:30.591057"], ["updated_at", "2015-05-22 17:54:30.591057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 17:54:30.593969"], ["updated_at", "2015-05-22 17:54:30.593969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 17:54:30.595612"], ["updated_at", "2015-05-22 17:54:30.596069"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 17:54:30.598521"], ["current_period_start", "2015-05-22 17:54:30.598521"], ["current_period_end", "2015-06-22 17:54:30.598521"], ["created_at", "2015-05-22 17:54:30.599122"], ["updated_at", "2015-05-22 17:54:30.599122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 17:54:30.602987"], ["updated_at", "2015-05-22 17:54:30.602987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 17:54:30.604686"], ["updated_at", "2015-05-22 17:54:30.604686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:54:30.606885"], ["updated_at", "2015-05-22 17:54:30.606885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:54:30.619033"], ["updated_at", "2015-05-22 17:54:30.619033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.2ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 17:54:30.639086"], ["updated_at", "2015-05-22 17:54:30.639086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 17:54:30.640896"], ["updated_at", "2015-05-22 17:54:30.640896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:54:30.642424"], ["updated_at", "2015-05-22 17:54:30.642424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:54:30.663033"], ["updated_at", "2015-05-22 17:54:30.663033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:54:30.667846"], ["updated_at", "2015-05-22 17:54:30.667846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:54:30.671906"], ["updated_at", "2015-05-22 17:54:30.671906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:54:30.363980"], ["owner_id", 1], ["created_at", "2015-05-22 17:54:30.673836"], ["updated_at", "2015-05-22 17:54:30.673836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:54:30.675993"], ["updated_at", "2015-05-22 17:54:30.675993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:54:30.677573"], ["updated_at", "2015-05-22 17:54:30.677573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 17:54:30.679126"], ["updated_at", "2015-05-22 17:54:30.679126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:54:30.681039"], ["updated_at", "2015-05-22 17:54:30.681039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:54:30.363980"], ["owner_id", 1], ["created_at", "2015-05-22 17:54:30.682751"], ["updated_at", "2015-05-22 17:54:30.682751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 17:54:30.683633"], ["owner_id", 1], ["created_at", "2015-05-22 17:54:30.684590"], ["updated_at", "2015-05-22 17:54:30.684590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:54:30.686589"], ["updated_at", "2015-05-22 17:54:30.686589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 17:54:30.688136"], ["updated_at", "2015-05-22 17:54:30.688136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:54:30.690204"], ["updated_at", "2015-05-22 17:54:30.690204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:54:30.363980"], ["owner_id", 1], ["created_at", "2015-05-22 17:54:30.691822"], ["updated_at", "2015-05-22 17:54:30.691822"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 17:54:30.694945"], ["updated_at", "2015-05-22 17:54:30.694945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 17:54:30.697421"], ["updated_at", "2015-05-22 17:54:30.697421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 17:54:30.702004"], ["updated_at", "2015-05-22 17:54:30.702004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 17:54:30.703915"], ["updated_at", "2015-05-22 17:54:30.703915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 17:54:30.704649"], ["current_period_start", "2015-05-22 17:54:30.704649"], ["current_period_end", "2015-06-22 17:54:30.704649"], ["created_at", "2015-05-22 17:54:30.705327"], ["updated_at", "2015-05-22 17:54:30.705327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:54:30.710943"], ["created_at", "2015-05-22 17:54:30.711664"], ["updated_at", "2015-05-22 17:54:30.711664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 17:54:30.718057"], ["created_at", "2015-05-22 17:54:30.718852"], ["updated_at", "2015-05-22 17:54:30.718852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 17:54:30.721112"], ["updated_at", "2015-05-22 17:54:30.721112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 17:54:30.721994"], ["updated_at", "2015-05-22 17:54:30.722334"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:18:35.458410"], ["updated_at", "2015-05-22 18:18:35.458410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:18:35.471544"], ["updated_at", "2015-05-22 18:18:35.471544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:18:35.485668"], ["updated_at", "2015-05-22 18:18:35.485668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:18:35.305774"], ["owner_id", 1], ["created_at", "2015-05-22 18:18:35.487638"], ["updated_at", "2015-05-22 18:18:35.487638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:18:35.489901"], ["updated_at", "2015-05-22 18:18:35.489901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:18:35.491450"], ["updated_at", "2015-05-22 18:18:35.491450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:18:35.493331"], ["updated_at", "2015-05-22 18:18:35.493331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:18:35.305774"], ["owner_id", 1], ["created_at", "2015-05-22 18:18:35.494866"], ["updated_at", "2015-05-22 18:18:35.494866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 18:18:35.495634"], ["owner_id", 1], ["created_at", "2015-05-22 18:18:35.497458"], ["updated_at", "2015-05-22 18:18:35.497458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:18:35.500296"], ["updated_at", "2015-05-22 18:18:35.500296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:18:35.502577"], ["updated_at", "2015-05-22 18:18:35.502577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:18:35.504769"], ["updated_at", "2015-05-22 18:18:35.504769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:18:35.506525"], ["updated_at", "2015-05-22 18:18:35.506525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:18:35.305774"], ["owner_id", 1], ["created_at", "2015-05-22 18:18:35.508025"], ["updated_at", "2015-05-22 18:18:35.508025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:19:11.020514"], ["updated_at", "2015-05-22 18:19:11.020514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:19:11.037064"], ["updated_at", "2015-05-22 18:19:11.037064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:19:11.052329"], ["updated_at", "2015-05-22 18:19:11.052329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:19:10.872342"], ["owner_id", 1], ["created_at", "2015-05-22 18:19:11.054418"], ["updated_at", "2015-05-22 18:19:11.054418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 18:19:11.055270"], ["owner_id", 1], ["created_at", "2015-05-22 18:19:11.056541"], ["updated_at", "2015-05-22 18:19:11.056541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:19:11.059266"], ["updated_at", "2015-05-22 18:19:11.059266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:19:11.060996"], ["updated_at", "2015-05-22 18:19:11.060996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:19:11.063131"], ["updated_at", "2015-05-22 18:19:11.063131"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:19:10.872342"], ["owner_id", 1], ["created_at", "2015-05-22 18:19:11.065442"], ["updated_at", "2015-05-22 18:19:11.065442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:19:11.068964"], ["updated_at", "2015-05-22 18:19:11.068964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:19:11.070979"], ["updated_at", "2015-05-22 18:19:11.070979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:19:11.072978"], ["updated_at", "2015-05-22 18:19:11.072978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:19:11.074874"], ["updated_at", "2015-05-22 18:19:11.074874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:19:10.872342"], ["owner_id", 1], ["created_at", "2015-05-22 18:19:11.076774"], ["updated_at", "2015-05-22 18:19:11.076774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:20:35.575622"], ["updated_at", "2015-05-22 18:20:35.575622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 18:20:35.587443"], ["updated_at", "2015-05-22 18:20:35.587443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 18:20:35.598384"], ["current_period_start", "2015-05-22 18:20:35.598384"], ["current_period_end", "2015-06-22 18:20:35.598384"], ["created_at", "2015-05-22 18:20:35.604712"], ["updated_at", "2015-05-22 18:20:35.604712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:20:35.607044"], ["updated_at", "2015-05-22 18:20:35.607044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 18:20:35.608689"], ["updated_at", "2015-05-22 18:20:35.608689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:20:35.611192"], ["updated_at", "2015-05-22 18:20:35.611192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 18:20:35.612841"], ["updated_at", "2015-05-22 18:20:35.613320"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 18:20:35.615843"], ["current_period_start", "2015-05-22 18:20:35.615843"], ["current_period_end", "2015-06-22 18:20:35.615843"], ["created_at", "2015-05-22 18:20:35.616481"], ["updated_at", "2015-05-22 18:20:35.616481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:20:35.619536"], ["updated_at", "2015-05-22 18:20:35.619536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:20:47.159339"], ["updated_at", "2015-05-22 18:20:47.159339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 18:20:47.173385"], ["updated_at", "2015-05-22 18:20:47.173385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 18:20:47.183184"], ["current_period_start", "2015-05-22 18:20:47.183184"], ["current_period_end", "2015-06-22 18:20:47.183184"], ["created_at", "2015-05-22 18:20:47.189857"], ["updated_at", "2015-05-22 18:20:47.189857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:20:47.192151"], ["updated_at", "2015-05-22 18:20:47.192151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 18:20:47.193845"], ["updated_at", "2015-05-22 18:20:47.193845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:20:47.196661"], ["updated_at", "2015-05-22 18:20:47.196661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 18:20:47.198454"], ["updated_at", "2015-05-22 18:20:47.198955"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 18:20:47.201287"], ["current_period_start", "2015-05-22 18:20:47.201287"], ["current_period_end", "2015-06-22 18:20:47.201287"], ["created_at", "2015-05-22 18:20:47.201912"], ["updated_at", "2015-05-22 18:20:47.201912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:20:47.204237"], ["updated_at", "2015-05-22 18:20:47.204237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 18:20:47.207145"], ["updated_at", "2015-05-22 18:20:47.207145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:20:47.208895"], ["updated_at", "2015-05-22 18:20:47.208895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 18:20:47.210181"], ["updated_at", "2015-05-22 18:20:47.210619"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 18:20:47.211243"], ["current_period_start", "2015-05-22 18:20:47.211243"], ["current_period_end", "2015-06-22 18:20:47.211243"], ["created_at", "2015-05-22 18:20:47.211948"], ["updated_at", "2015-05-22 18:20:47.211948"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:20:58.094928"], ["updated_at", "2015-05-22 18:20:58.094928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 18:20:58.106774"], ["updated_at", "2015-05-22 18:20:58.106774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 18:20:58.118077"], ["current_period_start", "2015-05-22 18:20:58.118077"], ["current_period_end", "2015-06-22 18:20:58.118077"], ["created_at", "2015-05-22 18:20:58.125135"], ["updated_at", "2015-05-22 18:20:58.125135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:20:58.127505"], ["updated_at", "2015-05-22 18:20:58.127505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 18:20:58.129301"], ["updated_at", "2015-05-22 18:20:58.129301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:20:58.131676"], ["updated_at", "2015-05-22 18:20:58.131676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 18:20:58.133326"], ["updated_at", "2015-05-22 18:20:58.133824"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 18:20:58.136244"], ["current_period_start", "2015-05-22 18:20:58.136244"], ["current_period_end", "2015-06-22 18:20:58.136244"], ["created_at", "2015-05-22 18:20:58.136891"], ["updated_at", "2015-05-22 18:20:58.136891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:20:58.139884"], ["updated_at", "2015-05-22 18:20:58.139884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 18:20:58.142574"], ["updated_at", "2015-05-22 18:20:58.142574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:20:58.144667"], ["updated_at", "2015-05-22 18:20:58.144667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 18:20:58.146120"], ["updated_at", "2015-05-22 18:20:58.146566"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 18:20:58.147230"], ["current_period_start", "2015-05-22 18:20:58.147230"], ["current_period_end", "2015-06-22 18:20:58.147230"], ["created_at", "2015-05-22 18:20:58.148262"], ["updated_at", "2015-05-22 18:20:58.148262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.2ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:21:49.919679"], ["updated_at", "2015-05-22 18:21:49.919679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 18:21:49.934966"], ["updated_at", "2015-05-22 18:21:49.934966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 18:21:49.945508"], ["current_period_start", "2015-05-22 18:21:49.945508"], ["current_period_end", "2015-06-22 18:21:49.945508"], ["created_at", "2015-05-22 18:21:49.951768"], ["updated_at", "2015-05-22 18:21:49.951768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:21:49.954648"], ["updated_at", "2015-05-22 18:21:49.954648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 18:21:49.956431"], ["updated_at", "2015-05-22 18:21:49.956431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:21:49.958923"], ["updated_at", "2015-05-22 18:21:49.958923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 18:21:49.961292"], ["updated_at", "2015-05-22 18:21:49.961292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 18:21:49.963411"], ["updated_at", "2015-05-22 18:21:49.963411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 18:21:49.966479"], ["updated_at", "2015-05-22 18:21:49.966479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:16:05.337938"], ["updated_at", "2015-05-22 21:16:05.337938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:16:05.364607"], ["updated_at", "2015-05-22 21:16:05.364607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:16:05.370015"], ["updated_at", "2015-05-22 21:16:05.370015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:16:05.373626"], ["updated_at", "2015-05-22 21:16:05.373626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:16:05.381939"], ["updated_at", "2015-05-22 21:16:05.381939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:16:05.159590"], ["owner_id", 1], ["created_at", "2015-05-22 21:16:05.384032"], ["updated_at", "2015-05-22 21:16:05.384032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:16:05.386262"], ["updated_at", "2015-05-22 21:16:05.386262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:16:05.387995"], ["updated_at", "2015-05-22 21:16:05.387995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:16:05.389519"], ["updated_at", "2015-05-22 21:16:05.389519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:16:05.391327"], ["updated_at", "2015-05-22 21:16:05.391327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:16:05.159590"], ["owner_id", 1], ["created_at", "2015-05-22 21:16:05.393132"], ["updated_at", "2015-05-22 21:16:05.393132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:16:05.395089"], ["updated_at", "2015-05-22 21:16:05.395089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:16:05.396666"], ["updated_at", "2015-05-22 21:16:05.396666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:16:05.398913"], ["updated_at", "2015-05-22 21:16:05.398913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:16:05.159590"], ["owner_id", 1], ["created_at", "2015-05-22 21:16:05.400593"], ["updated_at", "2015-05-22 21:16:05.400593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 21:16:05.401304"], ["owner_id", 1], ["created_at", "2015-05-22 21:16:05.402286"], ["updated_at", "2015-05-22 21:16:05.402286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 21:16:05.407342"], ["updated_at", "2015-05-22 21:16:05.407342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:16:05.409164"], ["updated_at", "2015-05-22 21:16:05.409164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 21:16:05.409903"], ["current_period_start", "2015-05-22 21:16:05.409903"], ["current_period_end", "2015-06-22 21:16:05.409903"], ["created_at", "2015-05-22 21:16:05.410559"], ["updated_at", "2015-05-22 21:16:05.410559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 21:16:05.413473"], ["updated_at", "2015-05-22 21:16:05.413473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 21:16:05.415013"], ["updated_at", "2015-05-22 21:16:05.415452"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 21:16:05.420858"], ["created_at", "2015-05-22 21:16:05.422236"], ["updated_at", "2015-05-22 21:16:05.422236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:16:05.425531"], ["updated_at", "2015-05-22 21:16:05.425531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:16:05.428776"], ["updated_at", "2015-05-22 21:16:05.428776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 21:16:05.430948"], ["current_period_start", "2015-05-22 21:16:05.430948"], ["current_period_end", "2015-06-22 21:16:05.430948"], ["created_at", "2015-05-22 21:16:05.432491"], ["updated_at", "2015-05-22 21:16:05.432491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:16:05.436637"], ["updated_at", "2015-05-22 21:16:05.436637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:16:05.439472"], ["updated_at", "2015-05-22 21:16:05.439472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:16:05.442282"], ["updated_at", "2015-05-22 21:16:05.442282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:16:05.445877"], ["updated_at", "2015-05-22 21:16:05.445877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:16:05.449167"], ["updated_at", "2015-05-22 21:16:05.449167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:16:05.451954"], ["updated_at", "2015-05-22 21:16:05.451954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 21:16:05.454889"], ["created_at", "2015-05-22 21:16:05.456349"], ["updated_at", "2015-05-22 21:16:05.456349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (4.5ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:16:05.491612"], ["updated_at", "2015-05-22 21:16:05.491612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 21:16:05.499463"], ["updated_at", "2015-05-22 21:16:05.499463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 21:16:05.501121"], ["updated_at", "2015-05-22 21:16:05.501121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:16:05.502619"], ["updated_at", "2015-05-22 21:16:05.502619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 21:16:05.507095"], ["updated_at", "2015-05-22 21:16:05.507095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 21:16:05.509192"], ["updated_at", "2015-05-22 21:16:05.509192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:16:05.510911"], ["updated_at", "2015-05-22 21:16:05.510911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 21:40:27.129837"], ["updated_at", "2015-05-22 21:40:27.129837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 21:40:27.132192"], ["updated_at", "2015-05-22 21:40:27.132192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:40:27.134816"], ["updated_at", "2015-05-22 21:40:27.134816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 21:40:27.142654"], ["updated_at", "2015-05-22 21:40:27.142654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 21:40:27.145075"], ["updated_at", "2015-05-22 21:40:27.145075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:40:27.147429"], ["updated_at", "2015-05-22 21:40:27.147429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:40:27.150650"], ["updated_at", "2015-05-22 21:40:27.150650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:40:27.182959"], ["updated_at", "2015-05-22 21:40:27.182959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:40:27.193636"], ["updated_at", "2015-05-22 21:40:27.193636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:40:27.201918"], ["updated_at", "2015-05-22 21:40:27.201918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:40:26.946739"], ["owner_id", 1], ["created_at", "2015-05-22 21:40:27.203880"], ["updated_at", "2015-05-22 21:40:27.203880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:40:27.206115"], ["updated_at", "2015-05-22 21:40:27.206115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:40:27.209449"], ["updated_at", "2015-05-22 21:40:27.209449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:40:26.946739"], ["owner_id", 1], ["created_at", "2015-05-22 21:40:27.211460"], ["updated_at", "2015-05-22 21:40:27.211460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:40:27.213640"], ["updated_at", "2015-05-22 21:40:27.213640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:40:27.215199"], ["updated_at", "2015-05-22 21:40:27.215199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:40:27.217188"], ["updated_at", "2015-05-22 21:40:27.217188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:40:26.946739"], ["owner_id", 1], ["created_at", "2015-05-22 21:40:27.218850"], ["updated_at", "2015-05-22 21:40:27.218850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 21:40:27.219641"], ["owner_id", 1], ["created_at", "2015-05-22 21:40:27.220722"], ["updated_at", "2015-05-22 21:40:27.220722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:40:27.222718"], ["updated_at", "2015-05-22 21:40:27.222718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:40:27.224812"], ["updated_at", "2015-05-22 21:40:27.224812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 21:40:27.227485"], ["updated_at", "2015-05-22 21:40:27.227485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:40:27.230253"], ["updated_at", "2015-05-22 21:40:27.230253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 21:40:27.231096"], ["current_period_start", "2015-05-22 21:40:27.231096"], ["current_period_end", "2015-06-22 21:40:27.231096"], ["created_at", "2015-05-22 21:40:27.232360"], ["updated_at", "2015-05-22 21:40:27.232360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:40:27.238207"], ["updated_at", "2015-05-22 21:40:27.238207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:40:27.246993"], ["updated_at", "2015-05-22 21:40:27.246993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:40:27.288641"], ["updated_at", "2015-05-22 21:40:27.288641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:40:27.290563"], ["updated_at", "2015-05-22 21:40:27.290563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 21:40:27.291727"], ["current_period_start", "2015-05-22 21:40:27.291727"], ["current_period_end", "2015-06-22 21:40:27.291727"], ["created_at", "2015-05-22 21:40:27.292515"], ["updated_at", "2015-05-22 21:40:27.292515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:40:27.294500"], ["updated_at", "2015-05-22 21:40:27.294500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:40:27.296266"], ["updated_at", "2015-05-22 21:40:27.296266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:40:27.298515"], ["updated_at", "2015-05-22 21:40:27.298515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:40:27.302773"], ["updated_at", "2015-05-22 21:40:27.302773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:40:27.304593"], ["updated_at", "2015-05-22 21:40:27.304593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:40:27.306390"], ["updated_at", "2015-05-22 21:40:27.306390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 21:40:27.318110"], ["created_at", "2015-05-22 21:40:27.318893"], ["updated_at", "2015-05-22 21:40:27.318893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 21:40:27.320679"], ["created_at", "2015-05-22 21:40:27.321642"], ["updated_at", "2015-05-22 21:40:27.321642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 21:40:27.324160"], ["updated_at", "2015-05-22 21:40:27.324160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 21:40:27.325129"], ["updated_at", "2015-05-22 21:40:27.325552"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:46:22.151542"], ["created_at", "2015-05-22 21:46:22.255551"], ["updated_at", "2015-05-22 21:46:22.255551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:46:33.912209"], ["created_at", "2015-05-22 21:46:34.016936"], ["updated_at", "2015-05-22 21:46:34.016936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:49:20.544303"], ["created_at", "2015-05-22 21:49:20.653463"], ["updated_at", "2015-05-22 21:49:20.653463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:50:23.412451"], ["created_at", "2015-05-22 21:50:23.516914"], ["updated_at", "2015-05-22 21:50:23.516914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:50:23.525002"], ["updated_at", "2015-05-22 21:50:23.525002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:50:23.530651"], ["updated_at", "2015-05-22 21:50:23.530651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:13.927723"], ["updated_at", "2015-05-22 21:52:13.927723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:52:13.813145"], ["created_at", "2015-05-22 21:52:13.933256"], ["updated_at", "2015-05-22 21:52:13.933256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:52:13.941178"], ["updated_at", "2015-05-22 21:52:13.941178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:13.943657"], ["updated_at", "2015-05-22 21:52:13.943657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:13.945684"], ["updated_at", "2015-05-22 21:52:13.945684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 21:52:25.658432"], ["updated_at", "2015-05-22 21:52:25.658432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 21:52:25.660410"], ["updated_at", "2015-05-22 21:52:25.660410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.663080"], ["updated_at", "2015-05-22 21:52:25.663080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.669469"], ["updated_at", "2015-05-22 21:52:25.669469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.671562"], ["updated_at", "2015-05-22 21:52:25.671562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.673331"], ["updated_at", "2015-05-22 21:52:25.673331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.685249"], ["updated_at", "2015-05-22 21:52:25.685249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.710912"], ["updated_at", "2015-05-22 21:52:25.710912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.717773"], ["updated_at", "2015-05-22 21:52:25.717773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.723120"], ["updated_at", "2015-05-22 21:52:25.723120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 21:52:25.722055"], ["created_at", "2015-05-22 21:52:25.725312"], ["updated_at", "2015-05-22 21:52:25.725312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 21:52:25.730190"], ["updated_at", "2015-05-22 21:52:25.730190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.732295"], ["updated_at", "2015-05-22 21:52:25.732295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 21:52:25.733105"], ["current_period_start", "2015-05-22 21:52:25.733105"], ["current_period_end", "2015-06-22 21:52:25.733105"], ["created_at", "2015-05-22 21:52:25.734467"], ["updated_at", "2015-05-22 21:52:25.734467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:25.738265"], ["updated_at", "2015-05-22 21:52:25.738265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.740204"], ["updated_at", "2015-05-22 21:52:25.740204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:25.741683"], ["updated_at", "2015-05-22 21:52:25.741683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:25.749590"], ["updated_at", "2015-05-22 21:52:25.749590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.751672"], ["updated_at", "2015-05-22 21:52:25.751672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:52:25.474068"], ["owner_id", 1], ["created_at", "2015-05-22 21:52:25.753390"], ["updated_at", "2015-05-22 21:52:25.753390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:25.756090"], ["updated_at", "2015-05-22 21:52:25.756090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:25.762293"], ["updated_at", "2015-05-22 21:52:25.762293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.764967"], ["updated_at", "2015-05-22 21:52:25.764967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:52:25.474068"], ["owner_id", 1], ["created_at", "2015-05-22 21:52:25.766510"], ["updated_at", "2015-05-22 21:52:25.766510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:25.768489"], ["updated_at", "2015-05-22 21:52:25.768489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.770292"], ["updated_at", "2015-05-22 21:52:25.770292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:25.771784"], ["updated_at", "2015-05-22 21:52:25.771784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:25.774743"], ["updated_at", "2015-05-22 21:52:25.774743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.776776"], ["updated_at", "2015-05-22 21:52:25.776776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:52:25.474068"], ["owner_id", 1], ["created_at", "2015-05-22 21:52:25.778481"], ["updated_at", "2015-05-22 21:52:25.778481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.780794"], ["updated_at", "2015-05-22 21:52:25.780794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 21:52:25.779300"], ["owner_id", 1], ["created_at", "2015-05-22 21:52:25.782446"], ["updated_at", "2015-05-22 21:52:25.782446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:25.785450"], ["updated_at", "2015-05-22 21:52:25.785450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.788022"], ["updated_at", "2015-05-22 21:52:25.788022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:25.789801"], ["updated_at", "2015-05-22 21:52:25.789801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:25.792175"], ["updated_at", "2015-05-22 21:52:25.792175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.794092"], ["updated_at", "2015-05-22 21:52:25.794092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 21:52:25.795425"], ["current_period_start", "2015-05-22 21:52:25.795425"], ["current_period_end", "2015-06-22 21:52:25.795425"], ["created_at", "2015-05-22 21:52:25.796284"], ["updated_at", "2015-05-22 21:52:25.796284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:25.798626"], ["updated_at", "2015-05-22 21:52:25.798626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.800836"], ["updated_at", "2015-05-22 21:52:25.800836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.803510"], ["updated_at", "2015-05-22 21:52:25.803510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:25.805549"], ["updated_at", "2015-05-22 21:52:25.805549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:25.808151"], ["updated_at", "2015-05-22 21:52:25.808151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.809963"], ["updated_at", "2015-05-22 21:52:25.809963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.811916"], ["updated_at", "2015-05-22 21:52:25.811916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:25.813624"], ["updated_at", "2015-05-22 21:52:25.813624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.817679"], ["updated_at", "2015-05-22 21:52:25.817679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.821136"], ["updated_at", "2015-05-22 21:52:25.821136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.824346"], ["updated_at", "2015-05-22 21:52:25.824346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.828951"], ["updated_at", "2015-05-22 21:52:25.828951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.832253"], ["updated_at", "2015-05-22 21:52:25.832253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.837100"], ["updated_at", "2015-05-22 21:52:25.837100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.840802"], ["updated_at", "2015-05-22 21:52:25.840802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.843402"], ["updated_at", "2015-05-22 21:52:25.843402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.847343"], ["updated_at", "2015-05-22 21:52:25.847343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.850186"], ["updated_at", "2015-05-22 21:52:25.850186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.853259"], ["updated_at", "2015-05-22 21:52:25.853259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.883452"], ["updated_at", "2015-05-22 21:52:25.883452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:52:25.474068"], ["created_at", "2015-05-22 21:52:25.885002"], ["updated_at", "2015-05-22 21:52:25.885002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:52:25.886997"], ["updated_at", "2015-05-22 21:52:25.886997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.889082"], ["updated_at", "2015-05-22 21:52:25.889082"]]  (3.7ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:25.894445"], ["updated_at", "2015-05-22 21:52:25.894445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.901180"], ["updated_at", "2015-05-22 21:52:25.901180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 21:52:25.899359"], ["created_at", "2015-05-22 21:52:25.902765"], ["updated_at", "2015-05-22 21:52:25.902765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:25.905851"], ["updated_at", "2015-05-22 21:52:25.905851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 21:52:25.907927"], ["updated_at", "2015-05-22 21:52:25.907927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 21:52:25.908821"], ["updated_at", "2015-05-22 21:52:25.909283"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:54.956291"], ["updated_at", "2015-05-22 21:52:54.956291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 21:52:54.928189"], ["created_at", "2015-05-22 21:52:54.962148"], ["updated_at", "2015-05-22 21:52:54.962148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:54.965601"], ["updated_at", "2015-05-22 21:52:54.965601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 21:52:54.967000"], ["updated_at", "2015-05-22 21:52:54.967000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 21:52:54.967729"], ["updated_at", "2015-05-22 21:52:54.968092"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:55.008325"], ["updated_at", "2015-05-22 21:52:55.008325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.011320"], ["updated_at", "2015-05-22 21:52:55.011320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:52:54.767712"], ["owner_id", 1], ["created_at", "2015-05-22 21:52:55.014023"], ["updated_at", "2015-05-22 21:52:55.014023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.016453"], ["updated_at", "2015-05-22 21:52:55.016453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 21:52:55.014944"], ["owner_id", 1], ["created_at", "2015-05-22 21:52:55.018259"], ["updated_at", "2015-05-22 21:52:55.018259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:55.027233"], ["updated_at", "2015-05-22 21:52:55.027233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.029279"], ["updated_at", "2015-05-22 21:52:55.029279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:55.031053"], ["updated_at", "2015-05-22 21:52:55.031053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:55.033167"], ["updated_at", "2015-05-22 21:52:55.033167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.035131"], ["updated_at", "2015-05-22 21:52:55.035131"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:52:54.767712"], ["owner_id", 1], ["created_at", "2015-05-22 21:52:55.036641"], ["updated_at", "2015-05-22 21:52:55.036641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:55.039271"], ["updated_at", "2015-05-22 21:52:55.039271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.042472"], ["updated_at", "2015-05-22 21:52:55.042472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:55.044478"], ["updated_at", "2015-05-22 21:52:55.044478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:55.046781"], ["updated_at", "2015-05-22 21:52:55.046781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:55.048476"], ["updated_at", "2015-05-22 21:52:55.048476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.050763"], ["updated_at", "2015-05-22 21:52:55.050763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:52:54.767712"], ["owner_id", 1], ["created_at", "2015-05-22 21:52:55.052737"], ["updated_at", "2015-05-22 21:52:55.052737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:55.055772"], ["updated_at", "2015-05-22 21:52:55.055772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.057921"], ["updated_at", "2015-05-22 21:52:55.057921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:55.064405"], ["updated_at", "2015-05-22 21:52:55.064405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:55.067770"], ["updated_at", "2015-05-22 21:52:55.067770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.069846"], ["updated_at", "2015-05-22 21:52:55.069846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 21:52:55.072276"], ["current_period_start", "2015-05-22 21:52:55.072276"], ["current_period_end", "2015-06-22 21:52:55.072276"], ["created_at", "2015-05-22 21:52:55.073026"], ["updated_at", "2015-05-22 21:52:55.073026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:55.074720"], ["updated_at", "2015-05-22 21:52:55.074720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.076390"], ["updated_at", "2015-05-22 21:52:55.076390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.078182"], ["updated_at", "2015-05-22 21:52:55.078182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:55.079606"], ["updated_at", "2015-05-22 21:52:55.079606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 21:52:55.081756"], ["updated_at", "2015-05-22 21:52:55.081756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.083136"], ["updated_at", "2015-05-22 21:52:55.083136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.084953"], ["updated_at", "2015-05-22 21:52:55.084953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:55.086308"], ["updated_at", "2015-05-22 21:52:55.086308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 21:52:55.089028"], ["updated_at", "2015-05-22 21:52:55.089028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.090644"], ["updated_at", "2015-05-22 21:52:55.090644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 21:52:55.091339"], ["current_period_start", "2015-05-22 21:52:55.091339"], ["current_period_end", "2015-06-22 21:52:55.091339"], ["created_at", "2015-05-22 21:52:55.091993"], ["updated_at", "2015-05-22 21:52:55.091993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.095819"], ["updated_at", "2015-05-22 21:52:55.095819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.100733"], ["updated_at", "2015-05-22 21:52:55.100733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.104513"], ["updated_at", "2015-05-22 21:52:55.104513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.109125"], ["updated_at", "2015-05-22 21:52:55.109125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.111841"], ["updated_at", "2015-05-22 21:52:55.111841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.115105"], ["updated_at", "2015-05-22 21:52:55.115105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.118031"], ["updated_at", "2015-05-22 21:52:55.118031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.121549"], ["updated_at", "2015-05-22 21:52:55.121549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.124579"], ["updated_at", "2015-05-22 21:52:55.124579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.126779"], ["updated_at", "2015-05-22 21:52:55.126779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.129057"], ["updated_at", "2015-05-22 21:52:55.129057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.132355"], ["updated_at", "2015-05-22 21:52:55.132355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 21:52:55.130840"], ["created_at", "2015-05-22 21:52:55.133879"], ["updated_at", "2015-05-22 21:52:55.133879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.141802"], ["updated_at", "2015-05-22 21:52:55.141802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.144527"], ["updated_at", "2015-05-22 21:52:55.144527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.150761"], ["updated_at", "2015-05-22 21:52:55.150761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:52:54.767712"], ["created_at", "2015-05-22 21:52:55.152756"], ["updated_at", "2015-05-22 21:52:55.152756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:52:55.154966"], ["updated_at", "2015-05-22 21:52:55.154966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.157440"], ["updated_at", "2015-05-22 21:52:55.157440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:55.159035"], ["updated_at", "2015-05-22 21:52:55.159035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:52:55.162616"], ["updated_at", "2015-05-22 21:52:55.162616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.187181"], ["updated_at", "2015-05-22 21:52:55.187181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.196787"], ["updated_at", "2015-05-22 21:52:55.196787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.198948"], ["updated_at", "2015-05-22 21:52:55.198948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.200991"], ["updated_at", "2015-05-22 21:52:55.200991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 21:52:55.206083"], ["updated_at", "2015-05-22 21:52:55.206083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 21:52:55.207956"], ["updated_at", "2015-05-22 21:52:55.207956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:55.209561"], ["updated_at", "2015-05-22 21:52:55.209561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:59.060980"], ["updated_at", "2015-05-22 21:52:59.060980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:52:58.945668"], ["created_at", "2015-05-22 21:52:59.067092"], ["updated_at", "2015-05-22 21:52:59.067092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:52:59.074558"], ["updated_at", "2015-05-22 21:52:59.074558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:52:59.077059"], ["updated_at", "2015-05-22 21:52:59.077059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:52:59.079157"], ["updated_at", "2015-05-22 21:52:59.079157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:52:59.087417"], ["updated_at", "2015-05-22 21:52:59.087417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:53:14.292819"], ["updated_at", "2015-05-22 21:53:14.292819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:53:14.174712"], ["created_at", "2015-05-22 21:53:14.298954"], ["updated_at", "2015-05-22 21:53:14.298954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:53:14.307068"], ["updated_at", "2015-05-22 21:53:14.307068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:53:14.309663"], ["updated_at", "2015-05-22 21:53:14.309663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:53:14.311845"], ["updated_at", "2015-05-22 21:53:14.311845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:53:14.321326"], ["updated_at", "2015-05-22 21:53:14.321326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:53:33.554721"], ["updated_at", "2015-05-22 21:53:33.554721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:53:33.440877"], ["created_at", "2015-05-22 21:53:33.560584"], ["updated_at", "2015-05-22 21:53:33.560584"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:53:33.567129"], ["updated_at", "2015-05-22 21:53:33.567129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:53:33.570387"], ["updated_at", "2015-05-22 21:53:33.570387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:53:33.572870"], ["updated_at", "2015-05-22 21:53:33.572870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:53:33.585879"], ["updated_at", "2015-05-22 21:53:33.585879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:54:43.762021"], ["updated_at", "2015-05-22 21:54:43.762021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:54:43.640152"], ["created_at", "2015-05-22 21:54:43.767917"], ["updated_at", "2015-05-22 21:54:43.767917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:54:43.776566"], ["updated_at", "2015-05-22 21:54:43.776566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:54:43.779090"], ["updated_at", "2015-05-22 21:54:43.779090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:54:43.782226"], ["updated_at", "2015-05-22 21:54:43.782226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:54:43.793847"], ["updated_at", "2015-05-22 21:54:43.793847"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:54:43.797436"], ["updated_at", "2015-05-22 21:54:43.797436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:54:43.800428"], ["updated_at", "2015-05-22 21:54:43.800428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:54:43.802850"], ["updated_at", "2015-05-22 21:54:43.802850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:54:43.804578"], ["updated_at", "2015-05-22 21:54:43.804578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:55:31.937510"], ["updated_at", "2015-05-22 21:55:31.937510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:55:31.823246"], ["created_at", "2015-05-22 21:55:31.942842"], ["updated_at", "2015-05-22 21:55:31.942842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:55:31.949500"], ["updated_at", "2015-05-22 21:55:31.949500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:55:31.951685"], ["updated_at", "2015-05-22 21:55:31.951685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:55:31.954033"], ["updated_at", "2015-05-22 21:55:31.954033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:55:31.965147"], ["updated_at", "2015-05-22 21:55:31.965147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:55:31.967629"], ["updated_at", "2015-05-22 21:55:31.967629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:55:31.969420"], ["updated_at", "2015-05-22 21:55:31.969420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:55:31.971413"], ["updated_at", "2015-05-22 21:55:31.971413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:55:31.972915"], ["updated_at", "2015-05-22 21:55:31.972915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:55:31.974418"], ["updated_at", "2015-05-22 21:55:31.974418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:55:31.976156"], ["updated_at", "2015-05-22 21:55:31.976156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:55:31.979116"], ["updated_at", "2015-05-22 21:55:31.979116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:55:31.980924"], ["updated_at", "2015-05-22 21:55:31.980924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:59:03.736795"], ["updated_at", "2015-05-22 21:59:03.736795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:59:03.621422"], ["created_at", "2015-05-22 21:59:03.742756"], ["updated_at", "2015-05-22 21:59:03.742756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:59:03.752038"], ["updated_at", "2015-05-22 21:59:03.752038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:59:03.754583"], ["updated_at", "2015-05-22 21:59:03.754583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:59:03.757179"], ["updated_at", "2015-05-22 21:59:03.757179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:59:03.767060"], ["updated_at", "2015-05-22 21:59:03.767060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:59:03.770167"], ["updated_at", "2015-05-22 21:59:03.770167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:59:03.772524"], ["updated_at", "2015-05-22 21:59:03.772524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:59:03.774683"], ["updated_at", "2015-05-22 21:59:03.774683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:59:03.776365"], ["updated_at", "2015-05-22 21:59:03.776365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:59:03.778817"], ["updated_at", "2015-05-22 21:59:03.778817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:59:03.779942"], ["updated_at", "2015-05-22 21:59:03.779942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:59:03.781897"], ["updated_at", "2015-05-22 21:59:03.781897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:59:03.783575"], ["updated_at", "2015-05-22 21:59:03.783575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 21:59:03.785540"], ["updated_at", "2015-05-22 21:59:03.785540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 21:59:03.787783"], ["updated_at", "2015-05-22 21:59:03.787783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 21:59:03.789467"], ["updated_at", "2015-05-22 21:59:03.789467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 21:59:03.791308"], ["updated_at", "2015-05-22 21:59:03.791308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:00:04.730349"], ["updated_at", "2015-05-22 22:00:04.730349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:00:04.615297"], ["created_at", "2015-05-22 22:00:04.735971"], ["updated_at", "2015-05-22 22:00:04.735971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:00:04.743248"], ["updated_at", "2015-05-22 22:00:04.743248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:00:04.746144"], ["updated_at", "2015-05-22 22:00:04.746144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:00:04.749784"], ["updated_at", "2015-05-22 22:00:04.749784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:00:04.758675"], ["updated_at", "2015-05-22 22:00:04.758675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:00:04.763718"], ["updated_at", "2015-05-22 22:00:04.763718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:00:04.765061"], ["updated_at", "2015-05-22 22:00:04.765061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:00:04.767203"], ["updated_at", "2015-05-22 22:00:04.767203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:00:04.768887"], ["updated_at", "2015-05-22 22:00:04.768887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:00:04.840870"], ["updated_at", "2015-05-22 22:00:04.840870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:00:04.842916"], ["updated_at", "2015-05-22 22:00:04.842916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:00:04.844446"], ["updated_at", "2015-05-22 22:00:04.844446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:00:04.845864"], ["updated_at", "2015-05-22 22:00:04.845864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:00:04.847449"], ["updated_at", "2015-05-22 22:00:04.847449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:00:04.849397"], ["updated_at", "2015-05-22 22:00:04.849397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:00:04.850867"], ["updated_at", "2015-05-22 22:00:04.850867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:00:04.852272"], ["updated_at", "2015-05-22 22:00:04.852272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:00:33.991298"], ["updated_at", "2015-05-22 22:00:33.991298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:00:33.875940"], ["created_at", "2015-05-22 22:00:33.996893"], ["updated_at", "2015-05-22 22:00:33.996893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:00:34.005951"], ["updated_at", "2015-05-22 22:00:34.005951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:00:34.008814"], ["updated_at", "2015-05-22 22:00:34.008814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:00:34.011076"], ["updated_at", "2015-05-22 22:00:34.011076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:00:34.019381"], ["updated_at", "2015-05-22 22:00:34.019381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:00:34.030296"], ["updated_at", "2015-05-22 22:00:34.030296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:00:34.032949"], ["updated_at", "2015-05-22 22:00:34.032949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:00:34.034795"], ["updated_at", "2015-05-22 22:00:34.034795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:00:34.036456"], ["updated_at", "2015-05-22 22:00:34.036456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:00:34.039081"], ["updated_at", "2015-05-22 22:00:34.039081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:00:34.040633"], ["updated_at", "2015-05-22 22:00:34.040633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:00:34.042709"], ["updated_at", "2015-05-22 22:00:34.042709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:00:34.044356"], ["updated_at", "2015-05-22 22:00:34.044356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:00:34.046169"], ["updated_at", "2015-05-22 22:00:34.046169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:00:34.048431"], ["updated_at", "2015-05-22 22:00:34.048431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:00:34.050214"], ["updated_at", "2015-05-22 22:00:34.050214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:00:34.051798"], ["updated_at", "2015-05-22 22:00:34.051798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:01:26.624861"], ["updated_at", "2015-05-22 22:01:26.624861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:01:26.511779"], ["created_at", "2015-05-22 22:01:26.630439"], ["updated_at", "2015-05-22 22:01:26.630439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:01:26.637666"], ["updated_at", "2015-05-22 22:01:26.637666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:01:26.640245"], ["updated_at", "2015-05-22 22:01:26.640245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:01:26.642545"], ["updated_at", "2015-05-22 22:01:26.642545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:01:26.652713"], ["updated_at", "2015-05-22 22:01:26.652713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:01:26.656525"], ["updated_at", "2015-05-22 22:01:26.656525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:01:26.657753"], ["updated_at", "2015-05-22 22:01:26.657753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:01:26.660060"], ["updated_at", "2015-05-22 22:01:26.660060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:01:26.661697"], ["updated_at", "2015-05-22 22:01:26.661697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:01:26.663473"], ["updated_at", "2015-05-22 22:01:26.663473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:01:26.665909"], ["updated_at", "2015-05-22 22:01:26.665909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:01:26.667645"], ["updated_at", "2015-05-22 22:01:26.667645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:01:26.669272"], ["updated_at", "2015-05-22 22:01:26.669272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:01:26.671027"], ["updated_at", "2015-05-22 22:01:26.671027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:01:26.673295"], ["updated_at", "2015-05-22 22:01:26.673295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:01:26.676450"], ["updated_at", "2015-05-22 22:01:26.676450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:01:26.678304"], ["updated_at", "2015-05-22 22:01:26.678304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:01:26.689058"], ["updated_at", "2015-05-22 22:01:26.689058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:01:26.691871"], ["updated_at", "2015-05-22 22:01:26.691871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:01:26.693966"], ["updated_at", "2015-05-22 22:01:26.693966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:01:26.695921"], ["updated_at", "2015-05-22 22:01:26.695921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:01:34.876275"], ["updated_at", "2015-05-22 22:01:34.876275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:01:34.759803"], ["created_at", "2015-05-22 22:01:34.881449"], ["updated_at", "2015-05-22 22:01:34.881449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:01:34.884138"], ["updated_at", "2015-05-22 22:01:34.884138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:01:34.890632"], ["updated_at", "2015-05-22 22:01:34.890632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:01:34.894476"], ["updated_at", "2015-05-22 22:01:34.894476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:01:34.904248"], ["updated_at", "2015-05-22 22:01:34.904248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:01:34.907463"], ["updated_at", "2015-05-22 22:01:34.907463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:01:34.909916"], ["updated_at", "2015-05-22 22:01:34.909916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:01:34.911542"], ["updated_at", "2015-05-22 22:01:34.911542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:01:34.912969"], ["updated_at", "2015-05-22 22:01:34.912969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:01:34.921934"], ["updated_at", "2015-05-22 22:01:34.921934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:01:34.924052"], ["updated_at", "2015-05-22 22:01:34.924052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:01:34.925538"], ["updated_at", "2015-05-22 22:01:34.925538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:01:34.927001"], ["updated_at", "2015-05-22 22:01:34.927001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:01:34.928592"], ["updated_at", "2015-05-22 22:01:34.928592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:01:34.930382"], ["updated_at", "2015-05-22 22:01:34.930382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:01:34.932071"], ["updated_at", "2015-05-22 22:01:34.932071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:01:34.934038"], ["updated_at", "2015-05-22 22:01:34.934038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:01:34.936354"], ["updated_at", "2015-05-22 22:01:34.936354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:01:34.938480"], ["updated_at", "2015-05-22 22:01:34.938480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:01:34.940310"], ["updated_at", "2015-05-22 22:01:34.940310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:01:34.941680"], ["updated_at", "2015-05-22 22:01:34.941680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:10.866003"], ["updated_at", "2015-05-22 22:03:10.866003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:03:10.750904"], ["created_at", "2015-05-22 22:03:10.872214"], ["updated_at", "2015-05-22 22:03:10.872214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:10.880327"], ["updated_at", "2015-05-22 22:03:10.880327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:10.883650"], ["updated_at", "2015-05-22 22:03:10.883650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:10.886375"], ["updated_at", "2015-05-22 22:03:10.886375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:03:10.896638"], ["updated_at", "2015-05-22 22:03:10.896638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:10.899658"], ["updated_at", "2015-05-22 22:03:10.899658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:10.902233"], ["updated_at", "2015-05-22 22:03:10.902233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:10.904076"], ["updated_at", "2015-05-22 22:03:10.904076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:03:10.905594"], ["updated_at", "2015-05-22 22:03:10.905594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:10.914805"], ["updated_at", "2015-05-22 22:03:10.914805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:10.916913"], ["updated_at", "2015-05-22 22:03:10.916913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:10.918392"], ["updated_at", "2015-05-22 22:03:10.918392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:03:10.919836"], ["updated_at", "2015-05-22 22:03:10.919836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:10.921990"], ["updated_at", "2015-05-22 22:03:10.921990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:10.922974"], ["updated_at", "2015-05-22 22:03:10.922974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:10.925566"], ["updated_at", "2015-05-22 22:03:10.925566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:03:10.927618"], ["updated_at", "2015-05-22 22:03:10.927618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:10.930025"], ["updated_at", "2015-05-22 22:03:10.930025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:10.932209"], ["updated_at", "2015-05-22 22:03:10.932209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:03:10.930817"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:10.933673"], ["updated_at", "2015-05-22 22:03:10.933673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["type", "plan_change"], ["period_start", "2015-05-22 19:03:10.930817"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:03:10.935099"], ["updated_at", "2015-05-22 22:03:10.935099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:10.936628"], ["updated_at", "2015-05-22 22:03:10.936628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:10.938315"], ["updated_at", "2015-05-22 22:03:10.938315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:10.939785"], ["updated_at", "2015-05-22 22:03:10.939785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:03:10.941284"], ["updated_at", "2015-05-22 22:03:10.941284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:47.570328"], ["updated_at", "2015-05-22 22:03:47.570328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:03:47.440691"], ["created_at", "2015-05-22 22:03:47.576296"], ["updated_at", "2015-05-22 22:03:47.576296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:47.583317"], ["updated_at", "2015-05-22 22:03:47.583317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:47.585835"], ["updated_at", "2015-05-22 22:03:47.585835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:47.588049"], ["updated_at", "2015-05-22 22:03:47.588049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:03:47.599260"], ["updated_at", "2015-05-22 22:03:47.599260"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:47.602516"], ["updated_at", "2015-05-22 22:03:47.602516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:47.605016"], ["updated_at", "2015-05-22 22:03:47.605016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:47.607538"], ["updated_at", "2015-05-22 22:03:47.607538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:03:47.609391"], ["updated_at", "2015-05-22 22:03:47.609391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:47.612898"], ["updated_at", "2015-05-22 22:03:47.612898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:47.614028"], ["updated_at", "2015-05-22 22:03:47.614028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:47.616464"], ["updated_at", "2015-05-22 22:03:47.616464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:03:47.618190"], ["updated_at", "2015-05-22 22:03:47.618190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:47.619810"], ["updated_at", "2015-05-22 22:03:47.619810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:47.622155"], ["updated_at", "2015-05-22 22:03:47.622155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:03:47.620431"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:47.624257"], ["updated_at", "2015-05-22 22:03:47.624257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:03:47.620431"], ["status", "generated"], ["created_at", "2015-05-22 22:03:47.626321"], ["updated_at", "2015-05-22 22:03:47.626321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:47.628568"], ["updated_at", "2015-05-22 22:03:47.628568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:47.631415"], ["updated_at", "2015-05-22 22:03:47.631415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:47.633743"], ["updated_at", "2015-05-22 22:03:47.633743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:03:47.635815"], ["updated_at", "2015-05-22 22:03:47.635815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:47.637889"], ["updated_at", "2015-05-22 22:03:47.637889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:47.640376"], ["updated_at", "2015-05-22 22:03:47.640376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:03:47.638731"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:47.642296"], ["updated_at", "2015-05-22 22:03:47.642296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["type", "plan_change"], ["period_start", "2015-05-22 19:03:47.638731"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:03:47.644116"], ["updated_at", "2015-05-22 22:03:47.644116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:03:47.654571"], ["updated_at", "2015-05-22 22:03:47.654571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:03:47.657648"], ["updated_at", "2015-05-22 22:03:47.657648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:03:47.659555"], ["updated_at", "2015-05-22 22:03:47.659555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:03:47.661415"], ["updated_at", "2015-05-22 22:03:47.661415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:01.898993"], ["updated_at", "2015-05-22 22:04:01.898993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:04:01.779991"], ["created_at", "2015-05-22 22:04:01.904226"], ["updated_at", "2015-05-22 22:04:01.904226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:01.914569"], ["updated_at", "2015-05-22 22:04:01.914569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:01.916788"], ["updated_at", "2015-05-22 22:04:01.916788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:01.918721"], ["updated_at", "2015-05-22 22:04:01.918721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:04:01.927699"], ["updated_at", "2015-05-22 22:04:01.927699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:01.934230"], ["updated_at", "2015-05-22 22:04:01.934230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:01.936392"], ["updated_at", "2015-05-22 22:04:01.936392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:01.937906"], ["updated_at", "2015-05-22 22:04:01.937906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:04:01.939326"], ["updated_at", "2015-05-22 22:04:01.939326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:01.940815"], ["updated_at", "2015-05-22 22:04:01.940815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:01.942453"], ["updated_at", "2015-05-22 22:04:01.942453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:01.943864"], ["updated_at", "2015-05-22 22:04:01.943864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:04:01.945371"], ["updated_at", "2015-05-22 22:04:01.945371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:01.946896"], ["updated_at", "2015-05-22 22:04:01.946896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:01.948844"], ["updated_at", "2015-05-22 22:04:01.948844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:01.950326"], ["updated_at", "2015-05-22 22:04:01.950326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:04:01.951686"], ["updated_at", "2015-05-22 22:04:01.951686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:01.953782"], ["updated_at", "2015-05-22 22:04:01.953782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:01.955851"], ["updated_at", "2015-05-22 22:04:01.955851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:04:01.954434"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:01.957403"], ["updated_at", "2015-05-22 22:04:01.957403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:04:01.954434"], ["status", "generated"], ["created_at", "2015-05-22 22:04:01.958835"], ["updated_at", "2015-05-22 22:04:01.958835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:01.960427"], ["updated_at", "2015-05-22 22:04:01.960427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:01.962234"], ["updated_at", "2015-05-22 22:04:01.962234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:04:01.961022"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:01.963640"], ["updated_at", "2015-05-22 22:04:01.963640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["type", "plan_change"], ["period_start", "2015-05-22 19:04:01.961022"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:04:01.965046"], ["updated_at", "2015-05-22 22:04:01.965046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:01.968431"], ["updated_at", "2015-05-22 22:04:01.968431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:01.969720"], ["updated_at", "2015-05-22 22:04:01.969720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:01.971922"], ["updated_at", "2015-05-22 22:04:01.971922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:04:01.973516"], ["updated_at", "2015-05-22 22:04:01.973516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:09.851367"], ["updated_at", "2015-05-22 22:04:09.851367"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:04:09.737141"], ["created_at", "2015-05-22 22:04:09.857494"], ["updated_at", "2015-05-22 22:04:09.857494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:09.865719"], ["updated_at", "2015-05-22 22:04:09.865719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:09.868382"], ["updated_at", "2015-05-22 22:04:09.868382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:04:09.866703"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:09.870713"], ["updated_at", "2015-05-22 22:04:09.870713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:04:09.866703"], ["status", "generated"], ["created_at", "2015-05-22 22:04:09.882414"], ["updated_at", "2015-05-22 22:04:09.882414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:09.893184"], ["updated_at", "2015-05-22 22:04:09.893184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:09.896064"], ["updated_at", "2015-05-22 22:04:09.896064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:09.898096"], ["updated_at", "2015-05-22 22:04:09.898096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:04:09.899824"], ["updated_at", "2015-05-22 22:04:09.899824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:09.902126"], ["updated_at", "2015-05-22 22:04:09.902126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:09.904223"], ["updated_at", "2015-05-22 22:04:09.904223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:09.905777"], ["updated_at", "2015-05-22 22:04:09.905777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:04:09.907225"], ["updated_at", "2015-05-22 22:04:09.907225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:09.908864"], ["updated_at", "2015-05-22 22:04:09.908864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:09.910941"], ["updated_at", "2015-05-22 22:04:09.910941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:09.913222"], ["updated_at", "2015-05-22 22:04:09.913222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:04:09.914978"], ["updated_at", "2015-05-22 22:04:09.914978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:09.916652"], ["updated_at", "2015-05-22 22:04:09.916652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:09.918523"], ["updated_at", "2015-05-22 22:04:09.918523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:09.919973"], ["updated_at", "2015-05-22 22:04:09.919973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:04:09.921344"], ["updated_at", "2015-05-22 22:04:09.921344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:09.923350"], ["updated_at", "2015-05-22 22:04:09.923350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:09.924334"], ["updated_at", "2015-05-22 22:04:09.924334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:09.926179"], ["updated_at", "2015-05-22 22:04:09.926179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:04:09.928207"], ["updated_at", "2015-05-22 22:04:09.928207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:04:09.930022"], ["updated_at", "2015-05-22 22:04:09.930022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:04:09.932473"], ["updated_at", "2015-05-22 22:04:09.932473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:04:09.930842"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:04:09.934241"], ["updated_at", "2015-05-22 22:04:09.934241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["type", "plan_change"], ["period_start", "2015-05-22 19:04:09.930842"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:04:09.935715"], ["updated_at", "2015-05-22 22:04:09.935715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:08.762263"], ["updated_at", "2015-05-22 22:05:08.762263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:05:08.646665"], ["created_at", "2015-05-22 22:05:08.767714"], ["updated_at", "2015-05-22 22:05:08.767714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:08.775493"], ["updated_at", "2015-05-22 22:05:08.775493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:08.777875"], ["updated_at", "2015-05-22 22:05:08.777875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:05:08.776402"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:08.779826"], ["updated_at", "2015-05-22 22:05:08.779826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["type", "plan_change"], ["period_start", "2015-05-22 19:05:08.776402"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:08.788862"], ["updated_at", "2015-05-22 22:05:08.788862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:08.791232"], ["updated_at", "2015-05-22 22:05:08.791232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:08.793348"], ["updated_at", "2015-05-22 22:05:08.793348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:08.794859"], ["updated_at", "2015-05-22 22:05:08.794859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:08.796364"], ["updated_at", "2015-05-22 22:05:08.796364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:08.798460"], ["updated_at", "2015-05-22 22:05:08.798460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:08.800587"], ["updated_at", "2015-05-22 22:05:08.800587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:08.802734"], ["updated_at", "2015-05-22 22:05:08.802734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:08.804183"], ["updated_at", "2015-05-22 22:05:08.804183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:08.814016"], ["updated_at", "2015-05-22 22:05:08.814016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:08.816413"], ["updated_at", "2015-05-22 22:05:08.816413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:08.818363"], ["updated_at", "2015-05-22 22:05:08.818363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:08.820053"], ["updated_at", "2015-05-22 22:05:08.820053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:08.821953"], ["updated_at", "2015-05-22 22:05:08.821953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:08.824161"], ["updated_at", "2015-05-22 22:05:08.824161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:08.825921"], ["updated_at", "2015-05-22 22:05:08.825921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:08.827974"], ["updated_at", "2015-05-22 22:05:08.827974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:08.829942"], ["updated_at", "2015-05-22 22:05:08.829942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:08.832352"], ["updated_at", "2015-05-22 22:05:08.832352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:08.834406"], ["updated_at", "2015-05-22 22:05:08.834406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:08.836478"], ["updated_at", "2015-05-22 22:05:08.836478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:08.839398"], ["updated_at", "2015-05-22 22:05:08.839398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:08.840725"], ["updated_at", "2015-05-22 22:05:08.840725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:08.843018"], ["updated_at", "2015-05-22 22:05:08.843018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:08.844888"], ["updated_at", "2015-05-22 22:05:08.844888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:08.846907"], ["updated_at", "2015-05-22 22:05:08.846907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:08.849379"], ["updated_at", "2015-05-22 22:05:08.849379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:05:08.847726"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:08.856947"], ["updated_at", "2015-05-22 22:05:08.856947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:05:08.847726"], ["status", "generated"], ["created_at", "2015-05-22 22:05:08.859207"], ["updated_at", "2015-05-22 22:05:08.859207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.220969"], ["updated_at", "2015-05-22 22:05:30.220969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:05:30.194347"], ["created_at", "2015-05-22 22:05:30.225873"], ["updated_at", "2015-05-22 22:05:30.225873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.235718"], ["updated_at", "2015-05-22 22:05:30.235718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.238836"], ["updated_at", "2015-05-22 22:05:30.238836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.241855"], ["updated_at", "2015-05-22 22:05:30.241855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:05:30.032425"], ["created_at", "2015-05-22 22:05:30.243343"], ["updated_at", "2015-05-22 22:05:30.243343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:30.247620"], ["updated_at", "2015-05-22 22:05:30.247620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.250403"], ["updated_at", "2015-05-22 22:05:30.250403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:05:30.248553"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.252743"], ["updated_at", "2015-05-22 22:05:30.252743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:05:30.248553"], ["status", "generated"], ["created_at", "2015-05-22 22:05:30.261116"], ["updated_at", "2015-05-22 22:05:30.261116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:30.263774"], ["updated_at", "2015-05-22 22:05:30.263774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.266134"], ["updated_at", "2015-05-22 22:05:30.266134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.267933"], ["updated_at", "2015-05-22 22:05:30.267933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:30.269708"], ["updated_at", "2015-05-22 22:05:30.269708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:30.271409"], ["updated_at", "2015-05-22 22:05:30.271409"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.273463"], ["updated_at", "2015-05-22 22:05:30.273463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.275354"], ["updated_at", "2015-05-22 22:05:30.275354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:30.276996"], ["updated_at", "2015-05-22 22:05:30.276996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:30.278836"], ["updated_at", "2015-05-22 22:05:30.278836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.281099"], ["updated_at", "2015-05-22 22:05:30.281099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.282905"], ["updated_at", "2015-05-22 22:05:30.282905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:30.284633"], ["updated_at", "2015-05-22 22:05:30.284633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:30.287837"], ["updated_at", "2015-05-22 22:05:30.287837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.290025"], ["updated_at", "2015-05-22 22:05:30.290025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.291463"], ["updated_at", "2015-05-22 22:05:30.291463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:30.292897"], ["updated_at", "2015-05-22 22:05:30.292897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:30.299482"], ["updated_at", "2015-05-22 22:05:30.299482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.301912"], ["updated_at", "2015-05-22 22:05:30.301912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.303602"], ["updated_at", "2015-05-22 22:05:30.303602"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:30.305653"], ["updated_at", "2015-05-22 22:05:30.305653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:30.307726"], ["updated_at", "2015-05-22 22:05:30.307726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.309899"], ["updated_at", "2015-05-22 22:05:30.309899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:05:30.308507"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.311395"], ["updated_at", "2015-05-22 22:05:30.311395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["type", "plan_change"], ["period_start", "2015-05-22 19:05:30.308507"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:30.312910"], ["updated_at", "2015-05-22 22:05:30.312910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.315193"], ["updated_at", "2015-05-22 22:05:30.315193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:05:30.316214"], ["updated_at", "2015-05-22 22:05:30.316214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.317906"], ["updated_at", "2015-05-22 22:05:30.317906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:05:30.319735"], ["updated_at", "2015-05-22 22:05:30.319735"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.351550"], ["updated_at", "2015-05-22 22:05:30.351550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.354200"], ["updated_at", "2015-05-22 22:05:30.354200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.356862"], ["updated_at", "2015-05-22 22:05:30.356862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.359942"], ["updated_at", "2015-05-22 22:05:30.359942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.363194"], ["updated_at", "2015-05-22 22:05:30.363194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.366201"], ["updated_at", "2015-05-22 22:05:30.366201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.371081"], ["updated_at", "2015-05-22 22:05:30.371081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.374416"], ["updated_at", "2015-05-22 22:05:30.374416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.377063"], ["updated_at", "2015-05-22 22:05:30.377063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.379445"], ["updated_at", "2015-05-22 22:05:30.379445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.382062"], ["updated_at", "2015-05-22 22:05:30.382062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:05:30.384127"], ["updated_at", "2015-05-22 22:05:30.384127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.385797"], ["updated_at", "2015-05-22 22:05:30.385797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:05:30.391690"], ["current_period_start", "2015-05-22 22:05:30.391690"], ["current_period_end", "2015-06-22 22:05:30.391690"], ["created_at", "2015-05-22 22:05:30.392482"], ["updated_at", "2015-05-22 22:05:30.392482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:05:30.394155"], ["updated_at", "2015-05-22 22:05:30.394155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.395635"], ["updated_at", "2015-05-22 22:05:30.395635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.397539"], ["updated_at", "2015-05-22 22:05:30.397539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.399081"], ["updated_at", "2015-05-22 22:05:30.399081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:05:30.401598"], ["updated_at", "2015-05-22 22:05:30.401598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.403456"], ["updated_at", "2015-05-22 22:05:30.403456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.405350"], ["updated_at", "2015-05-22 22:05:30.405350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.406793"], ["updated_at", "2015-05-22 22:05:30.406793"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.424397"], ["updated_at", "2015-05-22 22:05:30.424397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:05:30.437091"], ["updated_at", "2015-05-22 22:05:30.437091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:05:30.438852"], ["updated_at", "2015-05-22 22:05:30.438852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.445273"], ["updated_at", "2015-05-22 22:05:30.445273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.451033"], ["updated_at", "2015-05-22 22:05:30.451033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.452808"], ["updated_at", "2015-05-22 22:05:30.452808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.454657"], ["updated_at", "2015-05-22 22:05:30.454657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:05:30.457089"], ["updated_at", "2015-05-22 22:05:30.457089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.459294"], ["updated_at", "2015-05-22 22:05:30.459294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:05:30.460302"], ["current_period_start", "2015-05-22 22:05:30.460302"], ["current_period_end", "2015-06-22 22:05:30.460302"], ["created_at", "2015-05-22 22:05:30.461090"], ["updated_at", "2015-05-22 22:05:30.461090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.466723"], ["updated_at", "2015-05-22 22:05:30.466723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:05:30.468591"], ["updated_at", "2015-05-22 22:05:30.468591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:05:30.469498"], ["updated_at", "2015-05-22 22:05:30.469847"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.473082"], ["updated_at", "2015-05-22 22:05:30.473082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:05:30.471626"], ["created_at", "2015-05-22 22:05:30.474793"], ["updated_at", "2015-05-22 22:05:30.474793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:05:30.476862"], ["updated_at", "2015-05-22 22:05:30.476862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.479056"], ["updated_at", "2015-05-22 22:05:30.479056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.480846"], ["updated_at", "2015-05-22 22:05:30.480846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:05:30.483289"], ["updated_at", "2015-05-22 22:05:30.483289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.485768"], ["updated_at", "2015-05-22 22:05:30.485768"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:05:30.032425"], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.489147"], ["updated_at", "2015-05-22 22:05:30.489147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:05:30.491617"], ["updated_at", "2015-05-22 22:05:30.491617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:05:30.493365"], ["updated_at", "2015-05-22 22:05:30.493365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.495252"], ["updated_at", "2015-05-22 22:05:30.495252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.497214"], ["updated_at", "2015-05-22 22:05:30.497214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:05:30.499339"], ["updated_at", "2015-05-22 22:05:30.499339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.501345"], ["updated_at", "2015-05-22 22:05:30.501345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:05:30.032425"], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.503029"], ["updated_at", "2015-05-22 22:05:30.503029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:05:30.507148"], ["updated_at", "2015-05-22 22:05:30.507148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.509342"], ["updated_at", "2015-05-22 22:05:30.509342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.510906"], ["updated_at", "2015-05-22 22:05:30.510906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:05:30.512960"], ["updated_at", "2015-05-22 22:05:30.512960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.514725"], ["updated_at", "2015-05-22 22:05:30.514725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:05:30.032425"], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.516214"], ["updated_at", "2015-05-22 22:05:30.516214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:05:30.518366"], ["updated_at", "2015-05-22 22:05:30.518366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:05:30.517018"], ["owner_id", 1], ["created_at", "2015-05-22 22:05:30.519766"], ["updated_at", "2015-05-22 22:05:30.519766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:05.961690"], ["updated_at", "2015-05-22 22:06:05.961690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:06:05.844744"], ["created_at", "2015-05-22 22:06:05.968241"], ["updated_at", "2015-05-22 22:06:05.968241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:05.971041"], ["updated_at", "2015-05-22 22:06:05.971041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:06:05.977082"], ["updated_at", "2015-05-22 22:06:05.977082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:06:05.980021"], ["updated_at", "2015-05-22 22:06:05.980021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:06:05.988505"], ["updated_at", "2015-05-22 22:06:05.988505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:06:05.998008"], ["updated_at", "2015-05-22 22:06:05.998008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:06.000763"], ["updated_at", "2015-05-22 22:06:06.000763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:06:06.002412"], ["updated_at", "2015-05-22 22:06:06.002412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:06:06.004583"], ["updated_at", "2015-05-22 22:06:06.004583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:06:06.006981"], ["updated_at", "2015-05-22 22:06:06.006981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:06.008969"], ["updated_at", "2015-05-22 22:06:06.008969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:06:06.010394"], ["updated_at", "2015-05-22 22:06:06.010394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:06:06.011724"], ["updated_at", "2015-05-22 22:06:06.011724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:06:06.013885"], ["updated_at", "2015-05-22 22:06:06.013885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:06.016480"], ["updated_at", "2015-05-22 22:06:06.016480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:06:06.018420"], ["updated_at", "2015-05-22 22:06:06.018420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:06:06.020087"], ["updated_at", "2015-05-22 22:06:06.020087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:06:06.021657"], ["updated_at", "2015-05-22 22:06:06.021657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:06.023454"], ["updated_at", "2015-05-22 22:06:06.023454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:06:06.025075"], ["updated_at", "2015-05-22 22:06:06.025075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:06:06.026909"], ["updated_at", "2015-05-22 22:06:06.026909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:06:06.029261"], ["updated_at", "2015-05-22 22:06:06.029261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:06.032009"], ["updated_at", "2015-05-22 22:06:06.032009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:06:06.030111"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:06:06.034055"], ["updated_at", "2015-05-22 22:06:06.034055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:06:06.030111"], ["status", "generated"], ["created_at", "2015-05-22 22:06:06.035766"], ["updated_at", "2015-05-22 22:06:06.035766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:06:06.037820"], ["updated_at", "2015-05-22 22:06:06.037820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:06.040030"], ["updated_at", "2015-05-22 22:06:06.040030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:06:06.041725"], ["updated_at", "2015-05-22 22:06:06.041725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:06:06.043561"], ["updated_at", "2015-05-22 22:06:06.043561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:06:06.045418"], ["updated_at", "2015-05-22 22:06:06.045418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:06.047845"], ["updated_at", "2015-05-22 22:06:06.047845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:06:06.046209"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:06:06.055152"], ["updated_at", "2015-05-22 22:06:06.055152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["type", "plan_change"], ["period_start", "2015-05-22 19:06:06.046209"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:06:06.057054"], ["updated_at", "2015-05-22 22:06:06.057054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:06:17.016653"], ["updated_at", "2015-05-22 22:06:17.016653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:17.028052"], ["updated_at", "2015-05-22 22:06:17.028052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:06:17.038096"], ["current_period_start", "2015-05-22 22:06:17.038096"], ["current_period_end", "2015-06-22 22:06:17.038096"], ["created_at", "2015-05-22 22:06:17.044731"], ["updated_at", "2015-05-22 22:06:17.044731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:06:17.047402"], ["updated_at", "2015-05-22 22:06:17.047402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:17.049533"], ["updated_at", "2015-05-22 22:06:17.049533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:17.051955"], ["updated_at", "2015-05-22 22:06:17.051955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:06:17.054294"], ["updated_at", "2015-05-22 22:06:17.054294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:06:17.067118"], ["updated_at", "2015-05-22 22:06:17.067118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:06:17.068677"], ["updated_at", "2015-05-22 22:06:17.069220"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:06:17.072110"], ["current_period_start", "2015-05-22 22:06:17.072110"], ["current_period_end", "2015-06-22 22:06:17.072110"], ["created_at", "2015-05-22 22:06:17.072861"], ["updated_at", "2015-05-22 22:06:17.072861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:06:17.075957"], ["updated_at", "2015-05-22 22:06:17.075957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:17.077900"], ["updated_at", "2015-05-22 22:06:17.077900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:06:17.081364"], ["updated_at", "2015-05-22 22:06:17.081364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:06:17.083079"], ["updated_at", "2015-05-22 22:06:17.083079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:06:17.086046"], ["updated_at", "2015-05-22 22:06:17.086046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:06:17.087115"], ["updated_at", "2015-05-22 22:06:17.087484"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:06:17.088856"], ["current_period_start", "2015-05-22 22:06:17.088856"], ["current_period_end", "2015-06-22 22:06:17.088856"], ["created_at", "2015-05-22 22:06:17.089620"], ["updated_at", "2015-05-22 22:06:17.089620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:09:23.823303"], ["updated_at", "2015-05-22 22:09:23.823303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.836811"], ["updated_at", "2015-05-22 22:09:23.836811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:09:23.837979"], ["current_period_start", "2015-05-22 22:09:23.837979"], ["current_period_end", "2015-06-22 22:09:23.837979"], ["created_at", "2015-05-22 22:09:23.847074"], ["updated_at", "2015-05-22 22:09:23.847074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:09:23.851975"], ["updated_at", "2015-05-22 22:09:23.851975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:09:23.853761"], ["updated_at", "2015-05-22 22:09:23.853761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.855294"], ["updated_at", "2015-05-22 22:09:23.855294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.861887"], ["updated_at", "2015-05-22 22:09:23.861887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.863865"], ["updated_at", "2015-05-22 22:09:23.863865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.866134"], ["updated_at", "2015-05-22 22:09:23.866134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.879377"], ["updated_at", "2015-05-22 22:09:23.879377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:23.899365"], ["updated_at", "2015-05-22 22:09:23.899365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.901654"], ["updated_at", "2015-05-22 22:09:23.901654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:09:23.649501"], ["owner_id", 1], ["created_at", "2015-05-22 22:09:23.903987"], ["updated_at", "2015-05-22 22:09:23.903987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:23.910831"], ["updated_at", "2015-05-22 22:09:23.910831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.913327"], ["updated_at", "2015-05-22 22:09:23.913327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:23.914952"], ["updated_at", "2015-05-22 22:09:23.914952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:23.917269"], ["updated_at", "2015-05-22 22:09:23.917269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.919013"], ["updated_at", "2015-05-22 22:09:23.919013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:23.920502"], ["updated_at", "2015-05-22 22:09:23.920502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:23.922383"], ["updated_at", "2015-05-22 22:09:23.922383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.924195"], ["updated_at", "2015-05-22 22:09:23.924195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:09:23.649501"], ["owner_id", 1], ["created_at", "2015-05-22 22:09:23.925876"], ["updated_at", "2015-05-22 22:09:23.925876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:23.928966"], ["updated_at", "2015-05-22 22:09:23.928966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:23.931911"], ["updated_at", "2015-05-22 22:09:23.931911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.935254"], ["updated_at", "2015-05-22 22:09:23.935254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:09:23.649501"], ["owner_id", 1], ["created_at", "2015-05-22 22:09:23.937100"], ["updated_at", "2015-05-22 22:09:23.937100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.943443"], ["updated_at", "2015-05-22 22:09:23.943443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:09:23.937832"], ["owner_id", 1], ["created_at", "2015-05-22 22:09:23.945545"], ["updated_at", "2015-05-22 22:09:23.945545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:23.948002"], ["updated_at", "2015-05-22 22:09:23.948002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.949818"], ["updated_at", "2015-05-22 22:09:23.949818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:23.951264"], ["updated_at", "2015-05-22 22:09:23.951264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.977137"], ["updated_at", "2015-05-22 22:09:23.977137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.980541"], ["updated_at", "2015-05-22 22:09:23.980541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.985715"], ["updated_at", "2015-05-22 22:09:23.985715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:09:23.984674"], ["created_at", "2015-05-22 22:09:23.987219"], ["updated_at", "2015-05-22 22:09:23.987219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.990282"], ["updated_at", "2015-05-22 22:09:23.990282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:09:23.989158"], ["created_at", "2015-05-22 22:09:23.991629"], ["updated_at", "2015-05-22 22:09:23.991629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:23.993735"], ["updated_at", "2015-05-22 22:09:23.993735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:09:23.995419"], ["updated_at", "2015-05-22 22:09:23.995419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:09:23.996430"], ["updated_at", "2015-05-22 22:09:23.996789"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:23.998890"], ["updated_at", "2015-05-22 22:09:23.998890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.000570"], ["updated_at", "2015-05-22 22:09:24.000570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:09:24.001821"], ["current_period_start", "2015-05-22 22:09:24.001821"], ["current_period_end", "2015-06-22 22:09:24.001821"], ["created_at", "2015-05-22 22:09:24.002515"], ["updated_at", "2015-05-22 22:09:24.002515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:24.004426"], ["updated_at", "2015-05-22 22:09:24.004426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.006968"], ["updated_at", "2015-05-22 22:09:24.006968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.008925"], ["updated_at", "2015-05-22 22:09:24.008925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:24.010349"], ["updated_at", "2015-05-22 22:09:24.010349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:24.016101"], ["updated_at", "2015-05-22 22:09:24.016101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.018311"], ["updated_at", "2015-05-22 22:09:24.018311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.020151"], ["updated_at", "2015-05-22 22:09:24.020151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:24.021523"], ["updated_at", "2015-05-22 22:09:24.021523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.025664"], ["updated_at", "2015-05-22 22:09:24.025664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:09:23.649501"], ["created_at", "2015-05-22 22:09:24.027526"], ["updated_at", "2015-05-22 22:09:24.027526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:24.030032"], ["updated_at", "2015-05-22 22:09:24.030032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.032248"], ["updated_at", "2015-05-22 22:09:24.032248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:24.034116"], ["updated_at", "2015-05-22 22:09:24.034116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:24.036141"], ["updated_at", "2015-05-22 22:09:24.036141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.038401"], ["updated_at", "2015-05-22 22:09:24.038401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:09:24.036905"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:24.040092"], ["updated_at", "2015-05-22 22:09:24.040092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:24.042151"], ["updated_at", "2015-05-22 22:09:24.042151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.044320"], ["updated_at", "2015-05-22 22:09:24.044320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:24.046326"], ["updated_at", "2015-05-22 22:09:24.046326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.049853"], ["updated_at", "2015-05-22 22:09:24.049853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:24.051471"], ["updated_at", "2015-05-22 22:09:24.051471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:24.053815"], ["updated_at", "2015-05-22 22:09:24.053815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:24.055915"], ["updated_at", "2015-05-22 22:09:24.055915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.058126"], ["updated_at", "2015-05-22 22:09:24.058126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:24.059887"], ["updated_at", "2015-05-22 22:09:24.059887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:24.072017"], ["updated_at", "2015-05-22 22:09:24.072017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.074582"], ["updated_at", "2015-05-22 22:09:24.074582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:24.077723"], ["updated_at", "2015-05-22 22:09:24.077723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:24.080761"], ["updated_at", "2015-05-22 22:09:24.080761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.082990"], ["updated_at", "2015-05-22 22:09:24.082990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:09:24.081560"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:24.084700"], ["updated_at", "2015-05-22 22:09:24.084700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:24.087890"], ["updated_at", "2015-05-22 22:09:24.087890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.090049"], ["updated_at", "2015-05-22 22:09:24.090049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:24.091814"], ["updated_at", "2015-05-22 22:09:24.091814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.094729"], ["updated_at", "2015-05-22 22:09:24.094729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.097676"], ["updated_at", "2015-05-22 22:09:24.097676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.100933"], ["updated_at", "2015-05-22 22:09:24.100933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.104386"], ["updated_at", "2015-05-22 22:09:24.104386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.107234"], ["updated_at", "2015-05-22 22:09:24.107234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.111300"], ["updated_at", "2015-05-22 22:09:24.111300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.114460"], ["updated_at", "2015-05-22 22:09:24.114460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.117843"], ["updated_at", "2015-05-22 22:09:24.117843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.122504"], ["updated_at", "2015-05-22 22:09:24.122504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.125441"], ["updated_at", "2015-05-22 22:09:24.125441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:24.130186"], ["updated_at", "2015-05-22 22:09:24.130186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:09:58.408458"], ["updated_at", "2015-05-22 22:09:58.408458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.420049"], ["updated_at", "2015-05-22 22:09:58.420049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:09:58.420994"], ["current_period_start", "2015-05-22 22:09:58.420994"], ["current_period_end", "2015-06-22 22:09:58.420994"], ["created_at", "2015-05-22 22:09:58.428672"], ["updated_at", "2015-05-22 22:09:58.428672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.433353"], ["updated_at", "2015-05-22 22:09:58.433353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:09:58.431632"], ["created_at", "2015-05-22 22:09:58.435795"], ["updated_at", "2015-05-22 22:09:58.435795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.438591"], ["updated_at", "2015-05-22 22:09:58.438591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:09:58.440227"], ["updated_at", "2015-05-22 22:09:58.440227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:09:58.441073"], ["updated_at", "2015-05-22 22:09:58.441437"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.446752"], ["updated_at", "2015-05-22 22:09:58.446752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:09:58.227881"], ["created_at", "2015-05-22 22:09:58.448532"], ["updated_at", "2015-05-22 22:09:58.448532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:58.450776"], ["updated_at", "2015-05-22 22:09:58.450776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.453674"], ["updated_at", "2015-05-22 22:09:58.453674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:09:58.451942"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.455360"], ["updated_at", "2015-05-22 22:09:58.455360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:58.464077"], ["updated_at", "2015-05-22 22:09:58.464077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.466512"], ["updated_at", "2015-05-22 22:09:58.466512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.468444"], ["updated_at", "2015-05-22 22:09:58.468444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:58.470688"], ["updated_at", "2015-05-22 22:09:58.470688"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.473198"], ["updated_at", "2015-05-22 22:09:58.473198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.475044"], ["updated_at", "2015-05-22 22:09:58.475044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:58.478515"], ["updated_at", "2015-05-22 22:09:58.478515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.480712"], ["updated_at", "2015-05-22 22:09:58.480712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.482234"], ["updated_at", "2015-05-22 22:09:58.482234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:58.489526"], ["updated_at", "2015-05-22 22:09:58.489526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.491912"], ["updated_at", "2015-05-22 22:09:58.491912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.493898"], ["updated_at", "2015-05-22 22:09:58.493898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:58.496282"], ["updated_at", "2015-05-22 22:09:58.496282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.498641"], ["updated_at", "2015-05-22 22:09:58.498641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.500402"], ["updated_at", "2015-05-22 22:09:58.500402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.503026"], ["updated_at", "2015-05-22 22:09:58.503026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:58.504299"], ["updated_at", "2015-05-22 22:09:58.504299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.506326"], ["updated_at", "2015-05-22 22:09:58.506326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:09:58.508168"], ["updated_at", "2015-05-22 22:09:58.508168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.510169"], ["updated_at", "2015-05-22 22:09:58.510169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:09:58.508826"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.511650"], ["updated_at", "2015-05-22 22:09:58.511650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.516771"], ["updated_at", "2015-05-22 22:09:58.516771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.519249"], ["updated_at", "2015-05-22 22:09:58.519249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.521735"], ["updated_at", "2015-05-22 22:09:58.521735"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.534082"], ["updated_at", "2015-05-22 22:09:58.534082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.537329"], ["updated_at", "2015-05-22 22:09:58.537329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.540815"], ["updated_at", "2015-05-22 22:09:58.540815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.543609"], ["updated_at", "2015-05-22 22:09:58.543609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.546465"], ["updated_at", "2015-05-22 22:09:58.546465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.549247"], ["updated_at", "2015-05-22 22:09:58.549247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.553969"], ["updated_at", "2015-05-22 22:09:58.553969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.556572"], ["updated_at", "2015-05-22 22:09:58.556572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.559585"], ["updated_at", "2015-05-22 22:09:58.559585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:09:58.558590"], ["created_at", "2015-05-22 22:09:58.560927"], ["updated_at", "2015-05-22 22:09:58.560927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.566482"], ["updated_at", "2015-05-22 22:09:58.566482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.570291"], ["updated_at", "2015-05-22 22:09:58.570291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:58.576289"], ["updated_at", "2015-05-22 22:09:58.576289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.578381"], ["updated_at", "2015-05-22 22:09:58.578381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:09:58.227881"], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.580177"], ["updated_at", "2015-05-22 22:09:58.580177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:58.587156"], ["updated_at", "2015-05-22 22:09:58.587156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.589264"], ["updated_at", "2015-05-22 22:09:58.589264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.591082"], ["updated_at", "2015-05-22 22:09:58.591082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:58.593188"], ["updated_at", "2015-05-22 22:09:58.593188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.594914"], ["updated_at", "2015-05-22 22:09:58.594914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:09:58.227881"], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.596462"], ["updated_at", "2015-05-22 22:09:58.596462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.598849"], ["updated_at", "2015-05-22 22:09:58.598849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:09:58.597488"], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.600683"], ["updated_at", "2015-05-22 22:09:58.600683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:58.602972"], ["updated_at", "2015-05-22 22:09:58.602972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.604934"], ["updated_at", "2015-05-22 22:09:58.604934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.606490"], ["updated_at", "2015-05-22 22:09:58.606490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:58.608632"], ["updated_at", "2015-05-22 22:09:58.608632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:58.612231"], ["updated_at", "2015-05-22 22:09:58.612231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.614535"], ["updated_at", "2015-05-22 22:09:58.614535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:09:58.227881"], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.616180"], ["updated_at", "2015-05-22 22:09:58.616180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:58.618232"], ["updated_at", "2015-05-22 22:09:58.618232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.620178"], ["updated_at", "2015-05-22 22:09:58.620178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.621908"], ["updated_at", "2015-05-22 22:09:58.621908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.652482"], ["updated_at", "2015-05-22 22:09:58.652482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.659937"], ["updated_at", "2015-05-22 22:09:58.659937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.661665"], ["updated_at", "2015-05-22 22:09:58.661665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.663792"], ["updated_at", "2015-05-22 22:09:58.663792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:09:58.668234"], ["updated_at", "2015-05-22 22:09:58.668234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:09:58.670069"], ["updated_at", "2015-05-22 22:09:58.670069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.671706"], ["updated_at", "2015-05-22 22:09:58.671706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:58.693529"], ["updated_at", "2015-05-22 22:09:58.693529"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.696114"], ["updated_at", "2015-05-22 22:09:58.696114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:09:58.697752"], ["current_period_start", "2015-05-22 22:09:58.697752"], ["current_period_end", "2015-06-22 22:09:58.697752"], ["created_at", "2015-05-22 22:09:58.698530"], ["updated_at", "2015-05-22 22:09:58.698530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:58.700580"], ["updated_at", "2015-05-22 22:09:58.700580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.702572"], ["updated_at", "2015-05-22 22:09:58.702572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.704960"], ["updated_at", "2015-05-22 22:09:58.704960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.706466"], ["updated_at", "2015-05-22 22:09:58.706466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:09:58.710530"], ["updated_at", "2015-05-22 22:09:58.710530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.712139"], ["updated_at", "2015-05-22 22:09:58.712139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:09:58.714126"], ["updated_at", "2015-05-22 22:09:58.714126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:09:58.715833"], ["updated_at", "2015-05-22 22:09:58.715833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:10:10.148444"], ["updated_at", "2015-05-22 22:10:10.148444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.159617"], ["updated_at", "2015-05-22 22:10:10.159617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:10:10.160841"], ["current_period_start", "2015-05-22 22:10:10.160841"], ["current_period_end", "2015-06-22 22:10:10.160841"], ["created_at", "2015-05-22 22:10:10.169290"], ["updated_at", "2015-05-22 22:10:10.169290"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.173803"], ["updated_at", "2015-05-22 22:10:10.173803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:10:10.175962"], ["updated_at", "2015-05-22 22:10:10.175962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:10:10.176807"], ["updated_at", "2015-05-22 22:10:10.177133"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.181911"], ["updated_at", "2015-05-22 22:10:10.181911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:10:10.180498"], ["created_at", "2015-05-22 22:10:10.183438"], ["updated_at", "2015-05-22 22:10:10.183438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.195943"], ["updated_at", "2015-05-22 22:10:10.195943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:10:10.212852"], ["updated_at", "2015-05-22 22:10:10.212852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:10:10.214722"], ["updated_at", "2015-05-22 22:10:10.214722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.216244"], ["updated_at", "2015-05-22 22:10:10.216244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.220484"], ["updated_at", "2015-05-22 22:10:10.220484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.222553"], ["updated_at", "2015-05-22 22:10:10.222553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.224209"], ["updated_at", "2015-05-22 22:10:10.224209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:10:10.226121"], ["updated_at", "2015-05-22 22:10:10.226121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.227527"], ["updated_at", "2015-05-22 22:10:10.227527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:10:10.234221"], ["current_period_start", "2015-05-22 22:10:10.234221"], ["current_period_end", "2015-06-22 22:10:10.234221"], ["created_at", "2015-05-22 22:10:10.235102"], ["updated_at", "2015-05-22 22:10:10.235102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:10:10.237067"], ["updated_at", "2015-05-22 22:10:10.237067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.238902"], ["updated_at", "2015-05-22 22:10:10.238902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.241101"], ["updated_at", "2015-05-22 22:10:10.241101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.242723"], ["updated_at", "2015-05-22 22:10:10.242723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:10:10.260152"], ["updated_at", "2015-05-22 22:10:10.260152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.262212"], ["updated_at", "2015-05-22 22:10:10.262212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.264659"], ["updated_at", "2015-05-22 22:10:10.264659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.266264"], ["updated_at", "2015-05-22 22:10:10.266264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.273339"], ["updated_at", "2015-05-22 22:10:10.273339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:10:10.271726"], ["created_at", "2015-05-22 22:10:10.274975"], ["updated_at", "2015-05-22 22:10:10.274975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.287605"], ["updated_at", "2015-05-22 22:10:10.287605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.290685"], ["updated_at", "2015-05-22 22:10:10.290685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:10:10.293458"], ["updated_at", "2015-05-22 22:10:10.293458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.295117"], ["updated_at", "2015-05-22 22:10:10.295117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.296845"], ["updated_at", "2015-05-22 22:10:10.296845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:10:10.299118"], ["updated_at", "2015-05-22 22:10:10.299118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.301064"], ["updated_at", "2015-05-22 22:10:10.301064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:10:09.972414"], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.302632"], ["updated_at", "2015-05-22 22:10:10.302632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:10:10.305100"], ["updated_at", "2015-05-22 22:10:10.305100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:10:10.307275"], ["updated_at", "2015-05-22 22:10:10.307275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.309231"], ["updated_at", "2015-05-22 22:10:10.309231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.310811"], ["updated_at", "2015-05-22 22:10:10.310811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:10:10.313567"], ["updated_at", "2015-05-22 22:10:10.313567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.315495"], ["updated_at", "2015-05-22 22:10:10.315495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:10:09.972414"], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.317085"], ["updated_at", "2015-05-22 22:10:10.317085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:10:10.319103"], ["updated_at", "2015-05-22 22:10:10.319103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.320846"], ["updated_at", "2015-05-22 22:10:10.320846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.322527"], ["updated_at", "2015-05-22 22:10:10.322527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:10:10.324469"], ["updated_at", "2015-05-22 22:10:10.324469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.326346"], ["updated_at", "2015-05-22 22:10:10.326346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:10:09.972414"], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.329122"], ["updated_at", "2015-05-22 22:10:10.329122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.331393"], ["updated_at", "2015-05-22 22:10:10.331393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:10:10.330092"], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.332805"], ["updated_at", "2015-05-22 22:10:10.332805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.337001"], ["updated_at", "2015-05-22 22:10:10.337001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.340277"], ["updated_at", "2015-05-22 22:10:10.340277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.344302"], ["updated_at", "2015-05-22 22:10:10.344302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.348719"], ["updated_at", "2015-05-22 22:10:10.348719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.351796"], ["updated_at", "2015-05-22 22:10:10.351796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.355373"], ["updated_at", "2015-05-22 22:10:10.355373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.357924"], ["updated_at", "2015-05-22 22:10:10.357924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.361012"], ["updated_at", "2015-05-22 22:10:10.361012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.364532"], ["updated_at", "2015-05-22 22:10:10.364532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.367303"], ["updated_at", "2015-05-22 22:10:10.367303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.372201"], ["updated_at", "2015-05-22 22:10:10.372201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.377634"], ["updated_at", "2015-05-22 22:10:10.377634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:10:09.972414"], ["created_at", "2015-05-22 22:10:10.380116"], ["updated_at", "2015-05-22 22:10:10.380116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:10:10.382533"], ["updated_at", "2015-05-22 22:10:10.382533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.384530"], ["updated_at", "2015-05-22 22:10:10.384530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.386277"], ["updated_at", "2015-05-22 22:10:10.386277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:10:10.388521"], ["updated_at", "2015-05-22 22:10:10.388521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.390622"], ["updated_at", "2015-05-22 22:10:10.390622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.396028"], ["updated_at", "2015-05-22 22:10:10.396028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:10:10.398463"], ["updated_at", "2015-05-22 22:10:10.398463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.400594"], ["updated_at", "2015-05-22 22:10:10.400594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:10:10.399190"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.402165"], ["updated_at", "2015-05-22 22:10:10.402165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:10:10.404182"], ["updated_at", "2015-05-22 22:10:10.404182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.406754"], ["updated_at", "2015-05-22 22:10:10.406754"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.409156"], ["updated_at", "2015-05-22 22:10:10.409156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:10:10.411129"], ["updated_at", "2015-05-22 22:10:10.411129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.413116"], ["updated_at", "2015-05-22 22:10:10.413116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.414828"], ["updated_at", "2015-05-22 22:10:10.414828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:10:10.420692"], ["updated_at", "2015-05-22 22:10:10.420692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.423014"], ["updated_at", "2015-05-22 22:10:10.423014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.424776"], ["updated_at", "2015-05-22 22:10:10.424776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:10:10.426656"], ["updated_at", "2015-05-22 22:10:10.426656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.428707"], ["updated_at", "2015-05-22 22:10:10.428707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:10:10.427294"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.430565"], ["updated_at", "2015-05-22 22:10:10.430565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:10:10.433578"], ["updated_at", "2015-05-22 22:10:10.433578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:10:10.434956"], ["updated_at", "2015-05-22 22:10:10.434956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:10:10.437766"], ["updated_at", "2015-05-22 22:10:10.437766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.508493"], ["updated_at", "2015-05-22 22:11:11.508493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:11:11.513806"], ["updated_at", "2015-05-22 22:11:11.513806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:11:11.514696"], ["updated_at", "2015-05-22 22:11:11.515021"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.519990"], ["updated_at", "2015-05-22 22:11:11.519990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:11:11.518509"], ["created_at", "2015-05-22 22:11:11.521494"], ["updated_at", "2015-05-22 22:11:11.521494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.524674"], ["updated_at", "2015-05-22 22:11:11.524674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.527908"], ["updated_at", "2015-05-22 22:11:11.527908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.531342"], ["updated_at", "2015-05-22 22:11:11.531342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.537813"], ["updated_at", "2015-05-22 22:11:11.537813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.541367"], ["updated_at", "2015-05-22 22:11:11.541367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.544635"], ["updated_at", "2015-05-22 22:11:11.544635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.547406"], ["updated_at", "2015-05-22 22:11:11.547406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.551583"], ["updated_at", "2015-05-22 22:11:11.551583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.554377"], ["updated_at", "2015-05-22 22:11:11.554377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.556870"], ["updated_at", "2015-05-22 22:11:11.556870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.559190"], ["updated_at", "2015-05-22 22:11:11.559190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.561450"], ["updated_at", "2015-05-22 22:11:11.561450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.562787"], ["updated_at", "2015-05-22 22:11:11.562787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.564217"], ["updated_at", "2015-05-22 22:11:11.564217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.575080"], ["updated_at", "2015-05-22 22:11:11.575080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:11:11.592977"], ["updated_at", "2015-05-22 22:11:11.592977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:11:11.594454"], ["updated_at", "2015-05-22 22:11:11.594454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.595876"], ["updated_at", "2015-05-22 22:11:11.595876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.599390"], ["updated_at", "2015-05-22 22:11:11.599390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:11:11.320488"], ["created_at", "2015-05-22 22:11:11.606497"], ["updated_at", "2015-05-22 22:11:11.606497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:11.611365"], ["updated_at", "2015-05-22 22:11:11.611365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.613681"], ["updated_at", "2015-05-22 22:11:11.613681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.615916"], ["updated_at", "2015-05-22 22:11:11.615916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:11.624063"], ["updated_at", "2015-05-22 22:11:11.624063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:11.626673"], ["updated_at", "2015-05-22 22:11:11.626673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.628938"], ["updated_at", "2015-05-22 22:11:11.628938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.631309"], ["updated_at", "2015-05-22 22:11:11.631309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:11.633341"], ["updated_at", "2015-05-22 22:11:11.633341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:11.635190"], ["updated_at", "2015-05-22 22:11:11.635190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.637775"], ["updated_at", "2015-05-22 22:11:11.637775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.639534"], ["updated_at", "2015-05-22 22:11:11.639534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:11.641142"], ["updated_at", "2015-05-22 22:11:11.641142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:11.642906"], ["updated_at", "2015-05-22 22:11:11.642906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.645099"], ["updated_at", "2015-05-22 22:11:11.645099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:11:11.643624"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.646846"], ["updated_at", "2015-05-22 22:11:11.646846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-22 19:11:11.643624"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:11.648472"], ["updated_at", "2015-05-22 22:11:11.648472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.651238"], ["updated_at", "2015-05-22 22:11:11.651238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:11.652522"], ["updated_at", "2015-05-22 22:11:11.652522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.654975"], ["updated_at", "2015-05-22 22:11:11.654975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:11.656628"], ["updated_at", "2015-05-22 22:11:11.656628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:11.658472"], ["updated_at", "2015-05-22 22:11:11.658472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.660761"], ["updated_at", "2015-05-22 22:11:11.660761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.663064"], ["updated_at", "2015-05-22 22:11:11.663064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:11.664764"], ["updated_at", "2015-05-22 22:11:11.664764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:11.666731"], ["updated_at", "2015-05-22 22:11:11.666731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.669002"], ["updated_at", "2015-05-22 22:11:11.669002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:11:11.667506"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.671075"], ["updated_at", "2015-05-22 22:11:11.671075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:11:11.667506"], ["status", "generated"], ["created_at", "2015-05-22 22:11:11.673268"], ["updated_at", "2015-05-22 22:11:11.673268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:11.679517"], ["updated_at", "2015-05-22 22:11:11.679517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.681731"], ["updated_at", "2015-05-22 22:11:11.681731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.683370"], ["updated_at", "2015-05-22 22:11:11.683370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:11.684870"], ["updated_at", "2015-05-22 22:11:11.684870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:11.686905"], ["updated_at", "2015-05-22 22:11:11.686905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.689034"], ["updated_at", "2015-05-22 22:11:11.689034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.690540"], ["updated_at", "2015-05-22 22:11:11.690540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:11.699095"], ["updated_at", "2015-05-22 22:11:11.699095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.701209"], ["updated_at", "2015-05-22 22:11:11.701209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:11:11.320488"], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.703201"], ["updated_at", "2015-05-22 22:11:11.703201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.705777"], ["updated_at", "2015-05-22 22:11:11.705777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:11:11.704186"], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.707354"], ["updated_at", "2015-05-22 22:11:11.707354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:11.711970"], ["updated_at", "2015-05-22 22:11:11.711970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.713999"], ["updated_at", "2015-05-22 22:11:11.713999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:11:11.320488"], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.715654"], ["updated_at", "2015-05-22 22:11:11.715654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:11.717662"], ["updated_at", "2015-05-22 22:11:11.717662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:11.719211"], ["updated_at", "2015-05-22 22:11:11.719211"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.720979"], ["updated_at", "2015-05-22 22:11:11.720979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.723074"], ["updated_at", "2015-05-22 22:11:11.723074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:11.726623"], ["updated_at", "2015-05-22 22:11:11.726623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.728671"], ["updated_at", "2015-05-22 22:11:11.728671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.730239"], ["updated_at", "2015-05-22 22:11:11.730239"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:11.732334"], ["updated_at", "2015-05-22 22:11:11.732334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.734190"], ["updated_at", "2015-05-22 22:11:11.734190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:11:11.320488"], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.739881"], ["updated_at", "2015-05-22 22:11:11.739881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.761660"], ["updated_at", "2015-05-22 22:11:11.761660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.764354"], ["updated_at", "2015-05-22 22:11:11.764354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.769466"], ["updated_at", "2015-05-22 22:11:11.769466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:11:11.768361"], ["created_at", "2015-05-22 22:11:11.770816"], ["updated_at", "2015-05-22 22:11:11.770816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:11:11.777456"], ["updated_at", "2015-05-22 22:11:11.777456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.779206"], ["updated_at", "2015-05-22 22:11:11.779206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:11:11.780036"], ["current_period_start", "2015-05-22 22:11:11.780036"], ["current_period_end", "2015-06-22 22:11:11.780036"], ["created_at", "2015-05-22 22:11:11.780637"], ["updated_at", "2015-05-22 22:11:11.780637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:11.782426"], ["updated_at", "2015-05-22 22:11:11.782426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.784431"], ["updated_at", "2015-05-22 22:11:11.784431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:11:11.785767"], ["current_period_start", "2015-05-22 22:11:11.785767"], ["current_period_end", "2015-06-22 22:11:11.785767"], ["created_at", "2015-05-22 22:11:11.786394"], ["updated_at", "2015-05-22 22:11:11.786394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:11.787998"], ["updated_at", "2015-05-22 22:11:11.787998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.789405"], ["updated_at", "2015-05-22 22:11:11.789405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.791336"], ["updated_at", "2015-05-22 22:11:11.791336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.792778"], ["updated_at", "2015-05-22 22:11:11.792778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:11.796142"], ["updated_at", "2015-05-22 22:11:11.796142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:11:11.797214"], ["updated_at", "2015-05-22 22:11:11.797652"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:11:11.798369"], ["current_period_start", "2015-05-22 22:11:11.798369"], ["current_period_end", "2015-06-22 22:11:11.798369"], ["created_at", "2015-05-22 22:11:11.799131"], ["updated_at", "2015-05-22 22:11:11.799131"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:11.801257"], ["updated_at", "2015-05-22 22:11:11.801257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.802914"], ["updated_at", "2015-05-22 22:11:11.802914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:11.805068"], ["updated_at", "2015-05-22 22:11:11.805068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:11.807597"], ["updated_at", "2015-05-22 22:11:11.807597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:11.810775"], ["updated_at", "2015-05-22 22:11:11.810775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:11:11.811669"], ["updated_at", "2015-05-22 22:11:11.812089"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:11:11.812743"], ["current_period_start", "2015-05-22 22:11:11.812743"], ["current_period_end", "2015-06-22 22:11:11.812743"], ["created_at", "2015-05-22 22:11:11.813356"], ["updated_at", "2015-05-22 22:11:11.813356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.3ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.657309"], ["updated_at", "2015-05-22 22:11:47.657309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:11:47.467571"], ["created_at", "2015-05-22 22:11:47.663240"], ["updated_at", "2015-05-22 22:11:47.663240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:47.668823"], ["updated_at", "2015-05-22 22:11:47.668823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.671458"], ["updated_at", "2015-05-22 22:11:47.671458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:11:47.669796"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.673755"], ["updated_at", "2015-05-22 22:11:47.673755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:11:47.669796"], ["status", "generated"], ["created_at", "2015-05-22 22:11:47.681737"], ["updated_at", "2015-05-22 22:11:47.681737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:47.684678"], ["updated_at", "2015-05-22 22:11:47.684678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.688906"], ["updated_at", "2015-05-22 22:11:47.688906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.690689"], ["updated_at", "2015-05-22 22:11:47.690689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:47.692189"], ["updated_at", "2015-05-22 22:11:47.692189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:47.694309"], ["updated_at", "2015-05-22 22:11:47.694309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.696488"], ["updated_at", "2015-05-22 22:11:47.696488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.698564"], ["updated_at", "2015-05-22 22:11:47.698564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:47.700413"], ["updated_at", "2015-05-22 22:11:47.700413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:47.702682"], ["updated_at", "2015-05-22 22:11:47.702682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.704765"], ["updated_at", "2015-05-22 22:11:47.704765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.706412"], ["updated_at", "2015-05-22 22:11:47.706412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:47.707981"], ["updated_at", "2015-05-22 22:11:47.707981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.710219"], ["updated_at", "2015-05-22 22:11:47.710219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:47.711213"], ["updated_at", "2015-05-22 22:11:47.711213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.713060"], ["updated_at", "2015-05-22 22:11:47.713060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:47.714501"], ["updated_at", "2015-05-22 22:11:47.714501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:47.716694"], ["updated_at", "2015-05-22 22:11:47.716694"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.719273"], ["updated_at", "2015-05-22 22:11:47.719273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:11:47.717866"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.720836"], ["updated_at", "2015-05-22 22:11:47.720836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-22 19:11:47.717866"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:47.722281"], ["updated_at", "2015-05-22 22:11:47.722281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:47.723844"], ["updated_at", "2015-05-22 22:11:47.723844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.725778"], ["updated_at", "2015-05-22 22:11:47.725778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.727504"], ["updated_at", "2015-05-22 22:11:47.727504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:47.729496"], ["updated_at", "2015-05-22 22:11:47.729496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:11:47.735882"], ["updated_at", "2015-05-22 22:11:47.735882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.738010"], ["updated_at", "2015-05-22 22:11:47.738010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.739490"], ["updated_at", "2015-05-22 22:11:47.739490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:47.740923"], ["updated_at", "2015-05-22 22:11:47.740923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.743400"], ["updated_at", "2015-05-22 22:11:47.743400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.749974"], ["updated_at", "2015-05-22 22:11:47.749974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.755331"], ["updated_at", "2015-05-22 22:11:47.755331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.758075"], ["updated_at", "2015-05-22 22:11:47.758075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.765179"], ["updated_at", "2015-05-22 22:11:47.765179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.769298"], ["updated_at", "2015-05-22 22:11:47.769298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.773881"], ["updated_at", "2015-05-22 22:11:47.773881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.777283"], ["updated_at", "2015-05-22 22:11:47.777283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.780087"], ["updated_at", "2015-05-22 22:11:47.780087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.782657"], ["updated_at", "2015-05-22 22:11:47.782657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.785090"], ["updated_at", "2015-05-22 22:11:47.785090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.788236"], ["updated_at", "2015-05-22 22:11:47.788236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:11:47.786609"], ["created_at", "2015-05-22 22:11:47.789615"], ["updated_at", "2015-05-22 22:11:47.789615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.794526"], ["updated_at", "2015-05-22 22:11:47.794526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.797110"], ["updated_at", "2015-05-22 22:11:47.797110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:47.804803"], ["updated_at", "2015-05-22 22:11:47.804803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.806435"], ["updated_at", "2015-05-22 22:11:47.806435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:11:47.814207"], ["current_period_start", "2015-05-22 22:11:47.814207"], ["current_period_end", "2015-06-22 22:11:47.814207"], ["created_at", "2015-05-22 22:11:47.814985"], ["updated_at", "2015-05-22 22:11:47.814985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:47.816751"], ["updated_at", "2015-05-22 22:11:47.816751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.818297"], ["updated_at", "2015-05-22 22:11:47.818297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.819954"], ["updated_at", "2015-05-22 22:11:47.819954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.821324"], ["updated_at", "2015-05-22 22:11:47.821324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:47.824430"], ["updated_at", "2015-05-22 22:11:47.824430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:11:47.825296"], ["updated_at", "2015-05-22 22:11:47.825858"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:11:47.828813"], ["current_period_start", "2015-05-22 22:11:47.828813"], ["current_period_end", "2015-06-22 22:11:47.828813"], ["created_at", "2015-05-22 22:11:47.829504"], ["updated_at", "2015-05-22 22:11:47.829504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:47.832887"], ["updated_at", "2015-05-22 22:11:47.832887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.835037"], ["updated_at", "2015-05-22 22:11:47.835037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.837641"], ["updated_at", "2015-05-22 22:11:47.837641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.839445"], ["updated_at", "2015-05-22 22:11:47.839445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:11:47.843008"], ["updated_at", "2015-05-22 22:11:47.843008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:11:47.844324"], ["updated_at", "2015-05-22 22:11:47.844851"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:11:47.845719"], ["current_period_start", "2015-05-22 22:11:47.845719"], ["current_period_end", "2015-06-22 22:11:47.845719"], ["created_at", "2015-05-22 22:11:47.846534"], ["updated_at", "2015-05-22 22:11:47.846534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:47.851297"], ["updated_at", "2015-05-22 22:11:47.851297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.853602"], ["updated_at", "2015-05-22 22:11:47.853602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.855291"], ["updated_at", "2015-05-22 22:11:47.855291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:47.858077"], ["updated_at", "2015-05-22 22:11:47.858077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.860837"], ["updated_at", "2015-05-22 22:11:47.860837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:11:47.467571"], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.862618"], ["updated_at", "2015-05-22 22:11:47.862618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.865161"], ["updated_at", "2015-05-22 22:11:47.865161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:11:47.863605"], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.866987"], ["updated_at", "2015-05-22 22:11:47.866987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:47.871291"], ["updated_at", "2015-05-22 22:11:47.871291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:47.873447"], ["updated_at", "2015-05-22 22:11:47.873447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.875683"], ["updated_at", "2015-05-22 22:11:47.875683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:11:47.467571"], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.877971"], ["updated_at", "2015-05-22 22:11:47.877971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:47.880809"], ["updated_at", "2015-05-22 22:11:47.880809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.883179"], ["updated_at", "2015-05-22 22:11:47.883179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.885859"], ["updated_at", "2015-05-22 22:11:47.885859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:47.888366"], ["updated_at", "2015-05-22 22:11:47.888366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.890204"], ["updated_at", "2015-05-22 22:11:47.890204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.891658"], ["updated_at", "2015-05-22 22:11:47.891658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:11:47.894137"], ["updated_at", "2015-05-22 22:11:47.894137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.896168"], ["updated_at", "2015-05-22 22:11:47.896168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:11:47.467571"], ["owner_id", 1], ["created_at", "2015-05-22 22:11:47.902860"], ["updated_at", "2015-05-22 22:11:47.902860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:11:47.905307"], ["updated_at", "2015-05-22 22:11:47.905307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.907025"], ["updated_at", "2015-05-22 22:11:47.907025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:11:47.907935"], ["current_period_start", "2015-05-22 22:11:47.907935"], ["current_period_end", "2015-06-22 22:11:47.907935"], ["created_at", "2015-05-22 22:11:47.908622"], ["updated_at", "2015-05-22 22:11:47.908622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.931360"], ["updated_at", "2015-05-22 22:11:47.931360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:11:47.933113"], ["updated_at", "2015-05-22 22:11:47.933113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:11:47.934113"], ["updated_at", "2015-05-22 22:11:47.934477"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.936894"], ["updated_at", "2015-05-22 22:11:47.936894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:11:47.935617"], ["created_at", "2015-05-22 22:11:47.938326"], ["updated_at", "2015-05-22 22:11:47.938326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.957471"], ["updated_at", "2015-05-22 22:11:47.957471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.964083"], ["updated_at", "2015-05-22 22:11:47.964083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.966432"], ["updated_at", "2015-05-22 22:11:47.966432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.968140"], ["updated_at", "2015-05-22 22:11:47.968140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:11:47.970813"], ["updated_at", "2015-05-22 22:11:47.970813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:11:47.972292"], ["updated_at", "2015-05-22 22:11:47.972292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:11:47.973700"], ["updated_at", "2015-05-22 22:11:47.973700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:13:04.614425"], ["updated_at", "2015-05-22 22:13:04.614425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.630327"], ["updated_at", "2015-05-22 22:13:04.630327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.635909"], ["updated_at", "2015-05-22 22:13:04.635909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:13:04.644233"], ["updated_at", "2015-05-22 22:13:04.644233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.646579"], ["updated_at", "2015-05-22 22:13:04.646579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:13:04.402469"], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.648428"], ["updated_at", "2015-05-22 22:13:04.648428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.651295"], ["updated_at", "2015-05-22 22:13:04.651295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:13:04.649270"], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.653195"], ["updated_at", "2015-05-22 22:13:04.653195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:13:04.656375"], ["updated_at", "2015-05-22 22:13:04.656375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:13:04.658580"], ["updated_at", "2015-05-22 22:13:04.658580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.660866"], ["updated_at", "2015-05-22 22:13:04.660866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.662636"], ["updated_at", "2015-05-22 22:13:04.662636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:13:04.665012"], ["updated_at", "2015-05-22 22:13:04.665012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.667112"], ["updated_at", "2015-05-22 22:13:04.667112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:13:04.402469"], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.668851"], ["updated_at", "2015-05-22 22:13:04.668851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:13:04.671624"], ["updated_at", "2015-05-22 22:13:04.671624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.673864"], ["updated_at", "2015-05-22 22:13:04.673864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.675517"], ["updated_at", "2015-05-22 22:13:04.675517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:13:04.678859"], ["updated_at", "2015-05-22 22:13:04.678859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.681439"], ["updated_at", "2015-05-22 22:13:04.681439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:13:04.402469"], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.683391"], ["updated_at", "2015-05-22 22:13:04.683391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:13:04.685812"], ["updated_at", "2015-05-22 22:13:04.685812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.688612"], ["updated_at", "2015-05-22 22:13:04.688612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:13:04.690012"], ["current_period_start", "2015-05-22 22:13:04.690012"], ["current_period_end", "2015-06-22 22:13:04.690012"], ["created_at", "2015-05-22 22:13:04.690784"], ["updated_at", "2015-05-22 22:13:04.690784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:13:04.692644"], ["updated_at", "2015-05-22 22:13:04.692644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.700405"], ["updated_at", "2015-05-22 22:13:04.700405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.702778"], ["updated_at", "2015-05-22 22:13:04.702778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.704480"], ["updated_at", "2015-05-22 22:13:04.704480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:13:04.709287"], ["updated_at", "2015-05-22 22:13:04.709287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:13:04.710227"], ["updated_at", "2015-05-22 22:13:04.710621"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:13:04.714052"], ["current_period_start", "2015-05-22 22:13:04.714052"], ["current_period_end", "2015-06-22 22:13:04.714052"], ["created_at", "2015-05-22 22:13:04.714946"], ["updated_at", "2015-05-22 22:13:04.714946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:13:04.718239"], ["updated_at", "2015-05-22 22:13:04.718239"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.720177"], ["updated_at", "2015-05-22 22:13:04.720177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.722246"], ["updated_at", "2015-05-22 22:13:04.722246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.723807"], ["updated_at", "2015-05-22 22:13:04.723807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:13:04.726603"], ["updated_at", "2015-05-22 22:13:04.726603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:13:04.728200"], ["updated_at", "2015-05-22 22:13:04.729119"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:13:04.730036"], ["current_period_start", "2015-05-22 22:13:04.730036"], ["current_period_end", "2015-06-22 22:13:04.730036"], ["created_at", "2015-05-22 22:13:04.730958"], ["updated_at", "2015-05-22 22:13:04.730958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.745599"], ["updated_at", "2015-05-22 22:13:04.745599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:13:04.758578"], ["updated_at", "2015-05-22 22:13:04.758578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:13:04.759987"], ["updated_at", "2015-05-22 22:13:04.759987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.761374"], ["updated_at", "2015-05-22 22:13:04.761374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.763777"], ["updated_at", "2015-05-22 22:13:04.763777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.765104"], ["updated_at", "2015-05-22 22:13:04.765104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.766561"], ["updated_at", "2015-05-22 22:13:04.766561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.772975"], ["updated_at", "2015-05-22 22:13:04.772975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.776762"], ["updated_at", "2015-05-22 22:13:04.776762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.779352"], ["updated_at", "2015-05-22 22:13:04.779352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.782944"], ["updated_at", "2015-05-22 22:13:04.782944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.785954"], ["updated_at", "2015-05-22 22:13:04.785954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.789380"], ["updated_at", "2015-05-22 22:13:04.789380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.792201"], ["updated_at", "2015-05-22 22:13:04.792201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.794843"], ["updated_at", "2015-05-22 22:13:04.794843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.798096"], ["updated_at", "2015-05-22 22:13:04.798096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.801055"], ["updated_at", "2015-05-22 22:13:04.801055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.804104"], ["updated_at", "2015-05-22 22:13:04.804104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:13:04.807001"], ["updated_at", "2015-05-22 22:13:04.807001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.809072"], ["updated_at", "2015-05-22 22:13:04.809072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:13:04.810767"], ["current_period_start", "2015-05-22 22:13:04.810767"], ["current_period_end", "2015-06-22 22:13:04.810767"], ["created_at", "2015-05-22 22:13:04.811539"], ["updated_at", "2015-05-22 22:13:04.811539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.815362"], ["updated_at", "2015-05-22 22:13:04.815362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:13:04.814009"], ["created_at", "2015-05-22 22:13:04.816985"], ["updated_at", "2015-05-22 22:13:04.816985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.831482"], ["updated_at", "2015-05-22 22:13:04.831482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.835137"], ["updated_at", "2015-05-22 22:13:04.835137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.838639"], ["updated_at", "2015-05-22 22:13:04.838639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:13:04.402469"], ["created_at", "2015-05-22 22:13:04.840441"], ["updated_at", "2015-05-22 22:13:04.840441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:13:04.842258"], ["updated_at", "2015-05-22 22:13:04.842258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.844530"], ["updated_at", "2015-05-22 22:13:04.844530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.846153"], ["updated_at", "2015-05-22 22:13:04.846153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:13:04.847815"], ["updated_at", "2015-05-22 22:13:04.847815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.850251"], ["updated_at", "2015-05-22 22:13:04.850251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:13:04.851359"], ["updated_at", "2015-05-22 22:13:04.851359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.853523"], ["updated_at", "2015-05-22 22:13:04.853523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:13:04.855068"], ["updated_at", "2015-05-22 22:13:04.855068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:13:04.856898"], ["updated_at", "2015-05-22 22:13:04.856898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.859399"], ["updated_at", "2015-05-22 22:13:04.859399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.861272"], ["updated_at", "2015-05-22 22:13:04.861272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:13:04.862883"], ["updated_at", "2015-05-22 22:13:04.862883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:13:04.865148"], ["updated_at", "2015-05-22 22:13:04.865148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.867268"], ["updated_at", "2015-05-22 22:13:04.867268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.868937"], ["updated_at", "2015-05-22 22:13:04.868937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:13:04.870562"], ["updated_at", "2015-05-22 22:13:04.870562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:13:04.877167"], ["updated_at", "2015-05-22 22:13:04.877167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.879506"], ["updated_at", "2015-05-22 22:13:04.879506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.881199"], ["updated_at", "2015-05-22 22:13:04.881199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:13:04.882829"], ["updated_at", "2015-05-22 22:13:04.882829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:13:04.885047"], ["updated_at", "2015-05-22 22:13:04.885047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.887905"], ["updated_at", "2015-05-22 22:13:04.887905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:13:04.886311"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.889370"], ["updated_at", "2015-05-22 22:13:04.889370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:13:04.886311"], ["status", "generated"], ["created_at", "2015-05-22 22:13:04.890821"], ["updated_at", "2015-05-22 22:13:04.890821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:13:04.892867"], ["updated_at", "2015-05-22 22:13:04.892867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.895535"], ["updated_at", "2015-05-22 22:13:04.895535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.897419"], ["updated_at", "2015-05-22 22:13:04.897419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:13:04.898909"], ["updated_at", "2015-05-22 22:13:04.898909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:13:04.900724"], ["updated_at", "2015-05-22 22:13:04.900724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.902845"], ["updated_at", "2015-05-22 22:13:04.902845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:13:04.901444"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:13:04.904535"], ["updated_at", "2015-05-22 22:13:04.904535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-22 19:13:04.901444"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:13:04.906013"], ["updated_at", "2015-05-22 22:13:04.906013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.908790"], ["updated_at", "2015-05-22 22:13:04.908790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:13:04.910398"], ["updated_at", "2015-05-22 22:13:04.910398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:13:04.911341"], ["updated_at", "2015-05-22 22:13:04.911671"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:13:04.914066"], ["updated_at", "2015-05-22 22:13:04.914066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:13:04.912930"], ["created_at", "2015-05-22 22:13:04.915387"], ["updated_at", "2015-05-22 22:13:04.915387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:10.033315"], ["updated_at", "2015-05-22 22:14:10.033315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.047059"], ["updated_at", "2015-05-22 22:14:10.047059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:14:10.056388"], ["current_period_start", "2015-05-22 22:14:10.056388"], ["current_period_end", "2015-06-22 22:14:10.056388"], ["created_at", "2015-05-22 22:14:10.063008"], ["updated_at", "2015-05-22 22:14:10.063008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:10.065827"], ["updated_at", "2015-05-22 22:14:10.065827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.067820"], ["updated_at", "2015-05-22 22:14:10.067820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.069943"], ["updated_at", "2015-05-22 22:14:10.069943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.072243"], ["updated_at", "2015-05-22 22:14:10.072243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:10.083341"], ["updated_at", "2015-05-22 22:14:10.083341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:14:10.084454"], ["updated_at", "2015-05-22 22:14:10.084841"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:14:10.087284"], ["current_period_start", "2015-05-22 22:14:10.087284"], ["current_period_end", "2015-06-22 22:14:10.087284"], ["created_at", "2015-05-22 22:14:10.087946"], ["updated_at", "2015-05-22 22:14:10.087946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:10.092326"], ["updated_at", "2015-05-22 22:14:10.092326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.094289"], ["updated_at", "2015-05-22 22:14:10.094289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.096135"], ["updated_at", "2015-05-22 22:14:10.096135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.097718"], ["updated_at", "2015-05-22 22:14:10.097718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:10.100698"], ["updated_at", "2015-05-22 22:14:10.100698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:14:10.101608"], ["updated_at", "2015-05-22 22:14:10.102019"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:14:10.102742"], ["current_period_start", "2015-05-22 22:14:10.102742"], ["current_period_end", "2015-06-22 22:14:10.102742"], ["created_at", "2015-05-22 22:14:10.103369"], ["updated_at", "2015-05-22 22:14:10.103369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.2ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.109715"], ["updated_at", "2015-05-22 22:14:10.109715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:14:10.111164"], ["updated_at", "2015-05-22 22:14:10.111164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:14:10.111968"], ["updated_at", "2015-05-22 22:14:10.112287"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.115251"], ["updated_at", "2015-05-22 22:14:10.115251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:14:10.114024"], ["created_at", "2015-05-22 22:14:10.116676"], ["updated_at", "2015-05-22 22:14:10.116676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.119086"], ["updated_at", "2015-05-22 22:14:10.119086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:14:09.860098"], ["created_at", "2015-05-22 22:14:10.120486"], ["updated_at", "2015-05-22 22:14:10.120486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:10.121995"], ["updated_at", "2015-05-22 22:14:10.121995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.124179"], ["updated_at", "2015-05-22 22:14:10.124179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.125647"], ["updated_at", "2015-05-22 22:14:10.125647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:10.127043"], ["updated_at", "2015-05-22 22:14:10.127043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:10.129838"], ["updated_at", "2015-05-22 22:14:10.129838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.133033"], ["updated_at", "2015-05-22 22:14:10.133033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.134606"], ["updated_at", "2015-05-22 22:14:10.134606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:10.136448"], ["updated_at", "2015-05-22 22:14:10.136448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:10.138495"], ["updated_at", "2015-05-22 22:14:10.138495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.140823"], ["updated_at", "2015-05-22 22:14:10.140823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:14:10.139105"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.142543"], ["updated_at", "2015-05-22 22:14:10.142543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:14:10.139105"], ["status", "generated"], ["created_at", "2015-05-22 22:14:10.144009"], ["updated_at", "2015-05-22 22:14:10.144009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:10.145546"], ["updated_at", "2015-05-22 22:14:10.145546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.147417"], ["updated_at", "2015-05-22 22:14:10.147417"]]  (4.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.153678"], ["updated_at", "2015-05-22 22:14:10.153678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:10.155134"], ["updated_at", "2015-05-22 22:14:10.155134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:10.157128"], ["updated_at", "2015-05-22 22:14:10.157128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.159015"], ["updated_at", "2015-05-22 22:14:10.159015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:14:10.157784"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.160434"], ["updated_at", "2015-05-22 22:14:10.160434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-22 19:14:10.157784"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:10.161835"], ["updated_at", "2015-05-22 22:14:10.161835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:10.168062"], ["updated_at", "2015-05-22 22:14:10.168062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.170906"], ["updated_at", "2015-05-22 22:14:10.170906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.172721"], ["updated_at", "2015-05-22 22:14:10.172721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:10.174484"], ["updated_at", "2015-05-22 22:14:10.174484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:10.176164"], ["updated_at", "2015-05-22 22:14:10.176164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.177913"], ["updated_at", "2015-05-22 22:14:10.177913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.179293"], ["updated_at", "2015-05-22 22:14:10.179293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:10.180734"], ["updated_at", "2015-05-22 22:14:10.180734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.182739"], ["updated_at", "2015-05-22 22:14:10.182739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:10.183634"], ["updated_at", "2015-05-22 22:14:10.183634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.185266"], ["updated_at", "2015-05-22 22:14:10.185266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:10.186717"], ["updated_at", "2015-05-22 22:14:10.186717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:14:10.188987"], ["updated_at", "2015-05-22 22:14:10.188987"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:14:10.190901"], ["updated_at", "2015-05-22 22:14:10.190901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.192445"], ["updated_at", "2015-05-22 22:14:10.192445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.208178"], ["updated_at", "2015-05-22 22:14:10.208178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.223315"], ["updated_at", "2015-05-22 22:14:10.223315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.225362"], ["updated_at", "2015-05-22 22:14:10.225362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.227283"], ["updated_at", "2015-05-22 22:14:10.227283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.231271"], ["updated_at", "2015-05-22 22:14:10.231271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.234703"], ["updated_at", "2015-05-22 22:14:10.234703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.237812"], ["updated_at", "2015-05-22 22:14:10.237812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.241181"], ["updated_at", "2015-05-22 22:14:10.241181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.244409"], ["updated_at", "2015-05-22 22:14:10.244409"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.249895"], ["updated_at", "2015-05-22 22:14:10.249895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.253843"], ["updated_at", "2015-05-22 22:14:10.253843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.259536"], ["updated_at", "2015-05-22 22:14:10.259536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.263171"], ["updated_at", "2015-05-22 22:14:10.263171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.266747"], ["updated_at", "2015-05-22 22:14:10.266747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.270930"], ["updated_at", "2015-05-22 22:14:10.270930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:14:10.273893"], ["updated_at", "2015-05-22 22:14:10.273893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.276902"], ["updated_at", "2015-05-22 22:14:10.276902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:14:10.277915"], ["current_period_start", "2015-05-22 22:14:10.277915"], ["current_period_end", "2015-06-22 22:14:10.277915"], ["created_at", "2015-05-22 22:14:10.278773"], ["updated_at", "2015-05-22 22:14:10.278773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:10.284774"], ["updated_at", "2015-05-22 22:14:10.284774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.287403"], ["updated_at", "2015-05-22 22:14:10.287403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.290116"], ["updated_at", "2015-05-22 22:14:10.290116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:10.292496"], ["updated_at", "2015-05-22 22:14:10.292496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.294344"], ["updated_at", "2015-05-22 22:14:10.294344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:14:09.860098"], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.295818"], ["updated_at", "2015-05-22 22:14:10.295818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:10.298437"], ["updated_at", "2015-05-22 22:14:10.298437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.300404"], ["updated_at", "2015-05-22 22:14:10.300404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.302063"], ["updated_at", "2015-05-22 22:14:10.302063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:10.304176"], ["updated_at", "2015-05-22 22:14:10.304176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:10.305921"], ["updated_at", "2015-05-22 22:14:10.305921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.308308"], ["updated_at", "2015-05-22 22:14:10.308308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:14:09.860098"], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.309926"], ["updated_at", "2015-05-22 22:14:10.309926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:10.312034"], ["updated_at", "2015-05-22 22:14:10.312034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.313789"], ["updated_at", "2015-05-22 22:14:10.313789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.315228"], ["updated_at", "2015-05-22 22:14:10.315228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:10.317186"], ["updated_at", "2015-05-22 22:14:10.317186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.319715"], ["updated_at", "2015-05-22 22:14:10.319715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:14:09.860098"], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.321473"], ["updated_at", "2015-05-22 22:14:10.321473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.323738"], ["updated_at", "2015-05-22 22:14:10.323738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:14:10.322182"], ["owner_id", 1], ["created_at", "2015-05-22 22:14:10.325179"], ["updated_at", "2015-05-22 22:14:10.325179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.336903"], ["updated_at", "2015-05-22 22:14:10.336903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:14:10.335485"], ["created_at", "2015-05-22 22:14:10.338447"], ["updated_at", "2015-05-22 22:14:10.338447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.342568"], ["updated_at", "2015-05-22 22:14:10.342568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:10.345079"], ["updated_at", "2015-05-22 22:14:10.345079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.235609"], ["updated_at", "2015-05-22 22:14:17.235609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:14:17.242021"], ["updated_at", "2015-05-22 22:14:17.242021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:14:17.243276"], ["updated_at", "2015-05-22 22:14:17.243711"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.249739"], ["updated_at", "2015-05-22 22:14:17.249739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:14:17.248092"], ["created_at", "2015-05-22 22:14:17.251407"], ["updated_at", "2015-05-22 22:14:17.251407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.291658"], ["updated_at", "2015-05-22 22:14:17.291658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:14:17.288820"], ["created_at", "2015-05-22 22:14:17.294263"], ["updated_at", "2015-05-22 22:14:17.294263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.298500"], ["updated_at", "2015-05-22 22:14:17.298500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.301463"], ["updated_at", "2015-05-22 22:14:17.301463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:17.307476"], ["updated_at", "2015-05-22 22:14:17.307476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.309699"], ["updated_at", "2015-05-22 22:14:17.309699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:14:17.316161"], ["current_period_start", "2015-05-22 22:14:17.316161"], ["current_period_end", "2015-06-22 22:14:17.316161"], ["created_at", "2015-05-22 22:14:17.317541"], ["updated_at", "2015-05-22 22:14:17.317541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:17.319404"], ["updated_at", "2015-05-22 22:14:17.319404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.321132"], ["updated_at", "2015-05-22 22:14:17.321132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.322912"], ["updated_at", "2015-05-22 22:14:17.322912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.325251"], ["updated_at", "2015-05-22 22:14:17.325251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:17.331536"], ["updated_at", "2015-05-22 22:14:17.331536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:14:17.332919"], ["updated_at", "2015-05-22 22:14:17.333400"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:14:17.334182"], ["current_period_start", "2015-05-22 22:14:17.334182"], ["current_period_end", "2015-06-22 22:14:17.334182"], ["created_at", "2015-05-22 22:14:17.339504"], ["updated_at", "2015-05-22 22:14:17.339504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:17.343058"], ["updated_at", "2015-05-22 22:14:17.343058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.345060"], ["updated_at", "2015-05-22 22:14:17.345060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.347065"], ["updated_at", "2015-05-22 22:14:17.347065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.348731"], ["updated_at", "2015-05-22 22:14:17.348731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:17.351438"], ["updated_at", "2015-05-22 22:14:17.351438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:14:17.352327"], ["updated_at", "2015-05-22 22:14:17.352715"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:14:17.353372"], ["current_period_start", "2015-05-22 22:14:17.353372"], ["current_period_end", "2015-06-22 22:14:17.353372"], ["created_at", "2015-05-22 22:14:17.354248"], ["updated_at", "2015-05-22 22:14:17.354248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.358294"], ["updated_at", "2015-05-22 22:14:17.358294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.363800"], ["updated_at", "2015-05-22 22:14:17.363800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.367152"], ["updated_at", "2015-05-22 22:14:17.367152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.370066"], ["updated_at", "2015-05-22 22:14:17.370066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.374829"], ["updated_at", "2015-05-22 22:14:17.374829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.378469"], ["updated_at", "2015-05-22 22:14:17.378469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.381304"], ["updated_at", "2015-05-22 22:14:17.381304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.384106"], ["updated_at", "2015-05-22 22:14:17.384106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.387584"], ["updated_at", "2015-05-22 22:14:17.387584"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.390552"], ["updated_at", "2015-05-22 22:14:17.390552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.393489"], ["updated_at", "2015-05-22 22:14:17.393489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:14:17.396011"], ["updated_at", "2015-05-22 22:14:17.396011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:14:17.398092"], ["updated_at", "2015-05-22 22:14:17.398092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.399886"], ["updated_at", "2015-05-22 22:14:17.399886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.416517"], ["updated_at", "2015-05-22 22:14:17.416517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.429010"], ["updated_at", "2015-05-22 22:14:17.429010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.430845"], ["updated_at", "2015-05-22 22:14:17.430845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.432804"], ["updated_at", "2015-05-22 22:14:17.432804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:14:17.435281"], ["updated_at", "2015-05-22 22:14:17.435281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.437265"], ["updated_at", "2015-05-22 22:14:17.437265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:14:17.438110"], ["current_period_start", "2015-05-22 22:14:17.438110"], ["current_period_end", "2015-06-22 22:14:17.438110"], ["created_at", "2015-05-22 22:14:17.438859"], ["updated_at", "2015-05-22 22:14:17.438859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:17.441010"], ["updated_at", "2015-05-22 22:14:17.441010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.443154"], ["updated_at", "2015-05-22 22:14:17.443154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.445231"], ["updated_at", "2015-05-22 22:14:17.445231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:17.448843"], ["updated_at", "2015-05-22 22:14:17.448843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.451226"], ["updated_at", "2015-05-22 22:14:17.451226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:14:17.047630"], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.453039"], ["updated_at", "2015-05-22 22:14:17.453039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.455526"], ["updated_at", "2015-05-22 22:14:17.455526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:14:17.453991"], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.457393"], ["updated_at", "2015-05-22 22:14:17.457393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:17.460038"], ["updated_at", "2015-05-22 22:14:17.460038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.462353"], ["updated_at", "2015-05-22 22:14:17.462353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.464218"], ["updated_at", "2015-05-22 22:14:17.464218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:17.467324"], ["updated_at", "2015-05-22 22:14:17.467324"]]  (4.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:17.474627"], ["updated_at", "2015-05-22 22:14:17.474627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.477562"], ["updated_at", "2015-05-22 22:14:17.477562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:14:17.047630"], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.479116"], ["updated_at", "2015-05-22 22:14:17.479116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:17.481330"], ["updated_at", "2015-05-22 22:14:17.481330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.483300"], ["updated_at", "2015-05-22 22:14:17.483300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.486056"], ["updated_at", "2015-05-22 22:14:17.486056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:17.488375"], ["updated_at", "2015-05-22 22:14:17.488375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.490407"], ["updated_at", "2015-05-22 22:14:17.490407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:14:17.047630"], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.491966"], ["updated_at", "2015-05-22 22:14:17.491966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.497438"], ["updated_at", "2015-05-22 22:14:17.497438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:14:17.047630"], ["created_at", "2015-05-22 22:14:17.499351"], ["updated_at", "2015-05-22 22:14:17.499351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:17.505749"], ["updated_at", "2015-05-22 22:14:17.505749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.508578"], ["updated_at", "2015-05-22 22:14:17.508578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.510112"], ["updated_at", "2015-05-22 22:14:17.510112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:17.511554"], ["updated_at", "2015-05-22 22:14:17.511554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:17.513184"], ["updated_at", "2015-05-22 22:14:17.513184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.515454"], ["updated_at", "2015-05-22 22:14:17.515454"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.517203"], ["updated_at", "2015-05-22 22:14:17.517203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:17.518668"], ["updated_at", "2015-05-22 22:14:17.518668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:17.520296"], ["updated_at", "2015-05-22 22:14:17.520296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.522224"], ["updated_at", "2015-05-22 22:14:17.522224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:14:17.520954"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.523862"], ["updated_at", "2015-05-22 22:14:17.523862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:14:17.520954"], ["status", "generated"], ["created_at", "2015-05-22 22:14:17.525934"], ["updated_at", "2015-05-22 22:14:17.525934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:17.528095"], ["updated_at", "2015-05-22 22:14:17.528095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.529982"], ["updated_at", "2015-05-22 22:14:17.529982"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.531824"], ["updated_at", "2015-05-22 22:14:17.531824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:17.533315"], ["updated_at", "2015-05-22 22:14:17.533315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:17.535119"], ["updated_at", "2015-05-22 22:14:17.535119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.537275"], ["updated_at", "2015-05-22 22:14:17.537275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:14:17.535855"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.539265"], ["updated_at", "2015-05-22 22:14:17.539265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-22 19:14:17.535855"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:17.540916"], ["updated_at", "2015-05-22 22:14:17.540916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:17.542510"], ["updated_at", "2015-05-22 22:14:17.542510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.544494"], ["updated_at", "2015-05-22 22:14:17.544494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.545976"], ["updated_at", "2015-05-22 22:14:17.545976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:17.547599"], ["updated_at", "2015-05-22 22:14:17.547599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.550031"], ["updated_at", "2015-05-22 22:14:17.550031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:17.551010"], ["updated_at", "2015-05-22 22:14:17.551010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.552720"], ["updated_at", "2015-05-22 22:14:17.552720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:17.554125"], ["updated_at", "2015-05-22 22:14:17.554125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:17.555567"], ["updated_at", "2015-05-22 22:14:17.555567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:17.557467"], ["updated_at", "2015-05-22 22:14:17.557467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:17.558843"], ["updated_at", "2015-05-22 22:14:17.558843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:17.560233"], ["updated_at", "2015-05-22 22:14:17.560233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:33.207984"], ["updated_at", "2015-05-22 22:14:33.207984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.219054"], ["updated_at", "2015-05-22 22:14:33.219054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:14:33.226339"], ["current_period_start", "2015-05-22 22:14:33.226339"], ["current_period_end", "2015-06-22 22:14:33.226339"], ["created_at", "2015-05-22 22:14:33.232951"], ["updated_at", "2015-05-22 22:14:33.232951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:33.235070"], ["updated_at", "2015-05-22 22:14:33.235070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.236964"], ["updated_at", "2015-05-22 22:14:33.236964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.239132"], ["updated_at", "2015-05-22 22:14:33.239132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.241424"], ["updated_at", "2015-05-22 22:14:33.241424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:33.252080"], ["updated_at", "2015-05-22 22:14:33.252080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:14:33.253450"], ["updated_at", "2015-05-22 22:14:33.253964"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:14:33.256859"], ["current_period_start", "2015-05-22 22:14:33.256859"], ["current_period_end", "2015-06-22 22:14:33.256859"], ["created_at", "2015-05-22 22:14:33.257713"], ["updated_at", "2015-05-22 22:14:33.257713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:33.261294"], ["updated_at", "2015-05-22 22:14:33.261294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.263363"], ["updated_at", "2015-05-22 22:14:33.263363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.265469"], ["updated_at", "2015-05-22 22:14:33.265469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.266932"], ["updated_at", "2015-05-22 22:14:33.266932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:33.269975"], ["updated_at", "2015-05-22 22:14:33.269975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:14:33.270949"], ["updated_at", "2015-05-22 22:14:33.271502"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:14:33.272307"], ["current_period_start", "2015-05-22 22:14:33.272307"], ["current_period_end", "2015-06-22 22:14:33.272307"], ["created_at", "2015-05-22 22:14:33.272945"], ["updated_at", "2015-05-22 22:14:33.272945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:33.276228"], ["updated_at", "2015-05-22 22:14:33.276228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.279250"], ["updated_at", "2015-05-22 22:14:33.279250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.281022"], ["updated_at", "2015-05-22 22:14:33.281022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:33.283357"], ["updated_at", "2015-05-22 22:14:33.283357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:33.285098"], ["updated_at", "2015-05-22 22:14:33.285098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.287864"], ["updated_at", "2015-05-22 22:14:33.287864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:14:33.032781"], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.290118"], ["updated_at", "2015-05-22 22:14:33.290118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:33.295362"], ["updated_at", "2015-05-22 22:14:33.295362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.298066"], ["updated_at", "2015-05-22 22:14:33.298066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.300056"], ["updated_at", "2015-05-22 22:14:33.300056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:33.302526"], ["updated_at", "2015-05-22 22:14:33.302526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.304702"], ["updated_at", "2015-05-22 22:14:33.304702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:14:33.032781"], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.306276"], ["updated_at", "2015-05-22 22:14:33.306276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.308549"], ["updated_at", "2015-05-22 22:14:33.308549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:14:33.307195"], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.310022"], ["updated_at", "2015-05-22 22:14:33.310022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:33.312187"], ["updated_at", "2015-05-22 22:14:33.312187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.314237"], ["updated_at", "2015-05-22 22:14:33.314237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.315687"], ["updated_at", "2015-05-22 22:14:33.315687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:14:33.317893"], ["updated_at", "2015-05-22 22:14:33.317893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.324280"], ["updated_at", "2015-05-22 22:14:33.324280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:14:33.032781"], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.325890"], ["updated_at", "2015-05-22 22:14:33.325890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:14:33.351068"], ["updated_at", "2015-05-22 22:14:33.351068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.352899"], ["updated_at", "2015-05-22 22:14:33.352899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:14:33.353665"], ["current_period_start", "2015-05-22 22:14:33.353665"], ["current_period_end", "2015-06-22 22:14:33.353665"], ["created_at", "2015-05-22 22:14:33.354416"], ["updated_at", "2015-05-22 22:14:33.354416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:14:33.358300"], ["updated_at", "2015-05-22 22:14:33.358300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:14:33.359854"], ["updated_at", "2015-05-22 22:14:33.359854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.361285"], ["updated_at", "2015-05-22 22:14:33.361285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.379302"], ["updated_at", "2015-05-22 22:14:33.379302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.389038"], ["updated_at", "2015-05-22 22:14:33.389038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.390690"], ["updated_at", "2015-05-22 22:14:33.390690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.392066"], ["updated_at", "2015-05-22 22:14:33.392066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.394649"], ["updated_at", "2015-05-22 22:14:33.394649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:14:33.395993"], ["updated_at", "2015-05-22 22:14:33.395993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:14:33.396916"], ["updated_at", "2015-05-22 22:14:33.397453"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.400284"], ["updated_at", "2015-05-22 22:14:33.400284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:14:33.398817"], ["created_at", "2015-05-22 22:14:33.401990"], ["updated_at", "2015-05-22 22:14:33.401990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.412092"], ["updated_at", "2015-05-22 22:14:33.412092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:14:33.410428"], ["created_at", "2015-05-22 22:14:33.414151"], ["updated_at", "2015-05-22 22:14:33.414151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.418893"], ["updated_at", "2015-05-22 22:14:33.418893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.421599"], ["updated_at", "2015-05-22 22:14:33.421599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.424287"], ["updated_at", "2015-05-22 22:14:33.424287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.429083"], ["updated_at", "2015-05-22 22:14:33.429083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.432645"], ["updated_at", "2015-05-22 22:14:33.432645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.435939"], ["updated_at", "2015-05-22 22:14:33.435939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.441227"], ["updated_at", "2015-05-22 22:14:33.441227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.449926"], ["updated_at", "2015-05-22 22:14:33.449926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.453620"], ["updated_at", "2015-05-22 22:14:33.453620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.457868"], ["updated_at", "2015-05-22 22:14:33.457868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.462292"], ["updated_at", "2015-05-22 22:14:33.462292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.466080"], ["updated_at", "2015-05-22 22:14:33.466080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.469543"], ["updated_at", "2015-05-22 22:14:33.469543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.473291"], ["updated_at", "2015-05-22 22:14:33.473291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:14:33.032781"], ["created_at", "2015-05-22 22:14:33.474996"], ["updated_at", "2015-05-22 22:14:33.474996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:33.477032"], ["updated_at", "2015-05-22 22:14:33.477032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.479277"], ["updated_at", "2015-05-22 22:14:33.479277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.481326"], ["updated_at", "2015-05-22 22:14:33.481326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:33.483205"], ["updated_at", "2015-05-22 22:14:33.483205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:33.485628"], ["updated_at", "2015-05-22 22:14:33.485628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.487567"], ["updated_at", "2015-05-22 22:14:33.487567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.489040"], ["updated_at", "2015-05-22 22:14:33.489040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:33.490743"], ["updated_at", "2015-05-22 22:14:33.490743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:33.492513"], ["updated_at", "2015-05-22 22:14:33.492513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.495216"], ["updated_at", "2015-05-22 22:14:33.495216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:14:33.493182"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.497170"], ["updated_at", "2015-05-22 22:14:33.497170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:14:33.493182"], ["status", "generated"], ["created_at", "2015-05-22 22:14:33.498874"], ["updated_at", "2015-05-22 22:14:33.498874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.501938"], ["updated_at", "2015-05-22 22:14:33.501938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:33.503267"], ["updated_at", "2015-05-22 22:14:33.503267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.505452"], ["updated_at", "2015-05-22 22:14:33.505452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:33.506939"], ["updated_at", "2015-05-22 22:14:33.506939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:33.508745"], ["updated_at", "2015-05-22 22:14:33.508745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.510574"], ["updated_at", "2015-05-22 22:14:33.510574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.512245"], ["updated_at", "2015-05-22 22:14:33.512245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:33.513612"], ["updated_at", "2015-05-22 22:14:33.513612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:33.515127"], ["updated_at", "2015-05-22 22:14:33.515127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.516934"], ["updated_at", "2015-05-22 22:14:33.516934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:14:33.515722"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.518478"], ["updated_at", "2015-05-22 22:14:33.518478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-22 19:14:33.515722"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:33.519834"], ["updated_at", "2015-05-22 22:14:33.519834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:33.526338"], ["updated_at", "2015-05-22 22:14:33.526338"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.529036"], ["updated_at", "2015-05-22 22:14:33.529036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.530889"], ["updated_at", "2015-05-22 22:14:33.530889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:33.532501"], ["updated_at", "2015-05-22 22:14:33.532501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:14:33.534200"], ["updated_at", "2015-05-22 22:14:33.534200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:14:33.536107"], ["updated_at", "2015-05-22 22:14:33.536107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:14:33.537646"], ["updated_at", "2015-05-22 22:14:33.537646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:14:33.539107"], ["updated_at", "2015-05-22 22:14:33.539107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.556909"], ["updated_at", "2015-05-22 22:15:48.556909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:15:48.364224"], ["created_at", "2015-05-22 22:15:48.562496"], ["updated_at", "2015-05-22 22:15:48.562496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:15:48.568089"], ["updated_at", "2015-05-22 22:15:48.568089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.570689"], ["updated_at", "2015-05-22 22:15:48.570689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.572935"], ["updated_at", "2015-05-22 22:15:48.572935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:15:48.580464"], ["updated_at", "2015-05-22 22:15:48.580464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:15:48.582702"], ["updated_at", "2015-05-22 22:15:48.582702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.584697"], ["updated_at", "2015-05-22 22:15:48.584697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.586313"], ["updated_at", "2015-05-22 22:15:48.586313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:15:48.588200"], ["updated_at", "2015-05-22 22:15:48.588200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:15:48.589719"], ["updated_at", "2015-05-22 22:15:48.589719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.591578"], ["updated_at", "2015-05-22 22:15:48.591578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:15:48.590320"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.593077"], ["updated_at", "2015-05-22 22:15:48.593077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-22 19:15:48.590320"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:15:48.594882"], ["updated_at", "2015-05-22 22:15:48.594882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:15:48.596546"], ["updated_at", "2015-05-22 22:15:48.596546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.598587"], ["updated_at", "2015-05-22 22:15:48.598587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.600213"], ["updated_at", "2015-05-22 22:15:48.600213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:15:48.601668"], ["updated_at", "2015-05-22 22:15:48.601668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:15:48.603878"], ["updated_at", "2015-05-22 22:15:48.603878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.606941"], ["updated_at", "2015-05-22 22:15:48.606941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:15:48.604610"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.608736"], ["updated_at", "2015-05-22 22:15:48.608736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:15:48.604610"], ["status", "generated"], ["created_at", "2015-05-22 22:15:48.610380"], ["updated_at", "2015-05-22 22:15:48.610380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.613133"], ["updated_at", "2015-05-22 22:15:48.613133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:15:48.614223"], ["updated_at", "2015-05-22 22:15:48.614223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.616149"], ["updated_at", "2015-05-22 22:15:48.616149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:15:48.617711"], ["updated_at", "2015-05-22 22:15:48.617711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:15:48.619492"], ["updated_at", "2015-05-22 22:15:48.619492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.621404"], ["updated_at", "2015-05-22 22:15:48.621404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.622869"], ["updated_at", "2015-05-22 22:15:48.622869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:15:48.624312"], ["updated_at", "2015-05-22 22:15:48.624312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:15:48.630639"], ["updated_at", "2015-05-22 22:15:48.630639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.633167"], ["updated_at", "2015-05-22 22:15:48.633167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.635073"], ["updated_at", "2015-05-22 22:15:48.635073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:15:48.636766"], ["updated_at", "2015-05-22 22:15:48.636766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:15:48.672974"], ["updated_at", "2015-05-22 22:15:48.672974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.675204"], ["updated_at", "2015-05-22 22:15:48.675204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:15:48.676065"], ["current_period_start", "2015-05-22 22:15:48.676065"], ["current_period_end", "2015-06-22 22:15:48.676065"], ["created_at", "2015-05-22 22:15:48.676957"], ["updated_at", "2015-05-22 22:15:48.676957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.681720"], ["updated_at", "2015-05-22 22:15:48.681720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.685173"], ["updated_at", "2015-05-22 22:15:48.685173"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.689428"], ["updated_at", "2015-05-22 22:15:48.689428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.694029"], ["updated_at", "2015-05-22 22:15:48.694029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.699040"], ["updated_at", "2015-05-22 22:15:48.699040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.703347"], ["updated_at", "2015-05-22 22:15:48.703347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.706370"], ["updated_at", "2015-05-22 22:15:48.706370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.709789"], ["updated_at", "2015-05-22 22:15:48.709789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.712777"], ["updated_at", "2015-05-22 22:15:48.712777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.716195"], ["updated_at", "2015-05-22 22:15:48.716195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.719045"], ["updated_at", "2015-05-22 22:15:48.719045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:15:48.721012"], ["updated_at", "2015-05-22 22:15:48.721012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.722537"], ["updated_at", "2015-05-22 22:15:48.722537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.724336"], ["updated_at", "2015-05-22 22:15:48.724336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.725663"], ["updated_at", "2015-05-22 22:15:48.725663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:15:48.735565"], ["updated_at", "2015-05-22 22:15:48.735565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:15:48.736646"], ["updated_at", "2015-05-22 22:15:48.737109"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:15:48.740409"], ["current_period_start", "2015-05-22 22:15:48.740409"], ["current_period_end", "2015-06-22 22:15:48.740409"], ["created_at", "2015-05-22 22:15:48.741169"], ["updated_at", "2015-05-22 22:15:48.741169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:15:48.744343"], ["updated_at", "2015-05-22 22:15:48.744343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.746162"], ["updated_at", "2015-05-22 22:15:48.746162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.748130"], ["updated_at", "2015-05-22 22:15:48.748130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.749924"], ["updated_at", "2015-05-22 22:15:48.749924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:15:48.753050"], ["updated_at", "2015-05-22 22:15:48.753050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:15:48.753999"], ["updated_at", "2015-05-22 22:15:48.754405"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:15:48.755109"], ["current_period_start", "2015-05-22 22:15:48.755109"], ["current_period_end", "2015-06-22 22:15:48.755109"], ["created_at", "2015-05-22 22:15:48.755669"], ["updated_at", "2015-05-22 22:15:48.755669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:15:48.758255"], ["updated_at", "2015-05-22 22:15:48.758255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.759723"], ["updated_at", "2015-05-22 22:15:48.759723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:15:48.761154"], ["current_period_start", "2015-05-22 22:15:48.761154"], ["current_period_end", "2015-06-22 22:15:48.761154"], ["created_at", "2015-05-22 22:15:48.761768"], ["updated_at", "2015-05-22 22:15:48.761768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:15:48.763933"], ["updated_at", "2015-05-22 22:15:48.763933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.765423"], ["updated_at", "2015-05-22 22:15:48.765423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:15:48.766528"], ["current_period_start", "2015-05-22 22:15:48.766528"], ["current_period_end", "2015-06-22 22:15:48.766528"], ["created_at", "2015-05-22 22:15:48.767147"], ["updated_at", "2015-05-22 22:15:48.767147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.771036"], ["updated_at", "2015-05-22 22:15:48.771036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:15:48.773256"], ["updated_at", "2015-05-22 22:15:48.773256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:15:48.774152"], ["updated_at", "2015-05-22 22:15:48.774542"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.777297"], ["updated_at", "2015-05-22 22:15:48.777297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:15:48.775830"], ["created_at", "2015-05-22 22:15:48.778875"], ["updated_at", "2015-05-22 22:15:48.778875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:15:48.781498"], ["updated_at", "2015-05-22 22:15:48.781498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:15:48.783105"], ["updated_at", "2015-05-22 22:15:48.783105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.784663"], ["updated_at", "2015-05-22 22:15:48.784663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.787200"], ["updated_at", "2015-05-22 22:15:48.787200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.788631"], ["updated_at", "2015-05-22 22:15:48.788631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.790070"], ["updated_at", "2015-05-22 22:15:48.790070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.810823"], ["updated_at", "2015-05-22 22:15:48.810823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.828857"], ["updated_at", "2015-05-22 22:15:48.828857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.832359"], ["updated_at", "2015-05-22 22:15:48.832359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.839530"], ["updated_at", "2015-05-22 22:15:48.839530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:15:48.838166"], ["created_at", "2015-05-22 22:15:48.841166"], ["updated_at", "2015-05-22 22:15:48.841166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:15:48.843081"], ["updated_at", "2015-05-22 22:15:48.843081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.845403"], ["updated_at", "2015-05-22 22:15:48.845403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.847245"], ["updated_at", "2015-05-22 22:15:48.847245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:15:48.849729"], ["updated_at", "2015-05-22 22:15:48.849729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.851957"], ["updated_at", "2015-05-22 22:15:48.851957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:15:48.364224"], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.853665"], ["updated_at", "2015-05-22 22:15:48.853665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.855955"], ["updated_at", "2015-05-22 22:15:48.855955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:15:48.854534"], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.857625"], ["updated_at", "2015-05-22 22:15:48.857625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:15:48.860577"], ["updated_at", "2015-05-22 22:15:48.860577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.863353"], ["updated_at", "2015-05-22 22:15:48.863353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.865424"], ["updated_at", "2015-05-22 22:15:48.865424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:15:48.868060"], ["updated_at", "2015-05-22 22:15:48.868060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.870372"], ["updated_at", "2015-05-22 22:15:48.870372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:15:48.364224"], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.872423"], ["updated_at", "2015-05-22 22:15:48.872423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:15:48.875077"], ["updated_at", "2015-05-22 22:15:48.875077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:15:48.880368"], ["updated_at", "2015-05-22 22:15:48.880368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.882853"], ["updated_at", "2015-05-22 22:15:48.882853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.885582"], ["updated_at", "2015-05-22 22:15:48.885582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:15:48.888230"], ["updated_at", "2015-05-22 22:15:48.888230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:15:48.890028"], ["updated_at", "2015-05-22 22:15:48.890028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:15:48.364224"], ["owner_id", 1], ["created_at", "2015-05-22 22:15:48.891635"], ["updated_at", "2015-05-22 22:15:48.891635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.003164"], ["updated_at", "2015-05-22 22:17:17.003164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:17:17.008553"], ["updated_at", "2015-05-22 22:17:17.008553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:17:17.009458"], ["updated_at", "2015-05-22 22:17:17.010028"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.015904"], ["updated_at", "2015-05-22 22:17:17.015904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:17:17.014461"], ["created_at", "2015-05-22 22:17:17.017784"], ["updated_at", "2015-05-22 22:17:17.017784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.021403"], ["updated_at", "2015-05-22 22:17:17.021403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:17:17.019902"], ["created_at", "2015-05-22 22:17:17.023054"], ["updated_at", "2015-05-22 22:17:17.023054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.032946"], ["updated_at", "2015-05-22 22:17:17.032946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.037136"], ["updated_at", "2015-05-22 22:17:17.037136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:17:17.044314"], ["updated_at", "2015-05-22 22:17:17.044314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.046957"], ["updated_at", "2015-05-22 22:17:17.046957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.049464"], ["updated_at", "2015-05-22 22:17:17.049464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:17:17.057266"], ["updated_at", "2015-05-22 22:17:17.057266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.059565"], ["updated_at", "2015-05-22 22:17:17.059565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:17:16.815706"], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.061766"], ["updated_at", "2015-05-22 22:17:17.061766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:17:17.065243"], ["updated_at", "2015-05-22 22:17:17.065243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:17:17.067336"], ["updated_at", "2015-05-22 22:17:17.067336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.069447"], ["updated_at", "2015-05-22 22:17:17.069447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.071165"], ["updated_at", "2015-05-22 22:17:17.071165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:17:17.073585"], ["updated_at", "2015-05-22 22:17:17.073585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.075649"], ["updated_at", "2015-05-22 22:17:17.075649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:17:16.815706"], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.077497"], ["updated_at", "2015-05-22 22:17:17.077497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:17:17.080718"], ["updated_at", "2015-05-22 22:17:17.080718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.082882"], ["updated_at", "2015-05-22 22:17:17.082882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.084767"], ["updated_at", "2015-05-22 22:17:17.084767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:17:17.087120"], ["updated_at", "2015-05-22 22:17:17.087120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.090574"], ["updated_at", "2015-05-22 22:17:17.090574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:17:16.815706"], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.092813"], ["updated_at", "2015-05-22 22:17:17.092813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.096246"], ["updated_at", "2015-05-22 22:17:17.096246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:17:17.093706"], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.098327"], ["updated_at", "2015-05-22 22:17:17.098327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:17:17.101976"], ["updated_at", "2015-05-22 22:17:17.101976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.103785"], ["updated_at", "2015-05-22 22:17:17.103785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.105516"], ["updated_at", "2015-05-22 22:17:17.105516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.106949"], ["updated_at", "2015-05-22 22:17:17.106949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:17:17.121133"], ["updated_at", "2015-05-22 22:17:17.121133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:17:17.122188"], ["updated_at", "2015-05-22 22:17:17.122601"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:17:17.123251"], ["current_period_start", "2015-05-22 22:17:17.123251"], ["current_period_end", "2015-06-22 22:17:17.123251"], ["created_at", "2015-05-22 22:17:17.123878"], ["updated_at", "2015-05-22 22:17:17.123878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:17:17.127613"], ["updated_at", "2015-05-22 22:17:17.127613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.129558"], ["updated_at", "2015-05-22 22:17:17.129558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.132764"], ["updated_at", "2015-05-22 22:17:17.132764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.134262"], ["updated_at", "2015-05-22 22:17:17.134262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:17:17.136978"], ["updated_at", "2015-05-22 22:17:17.136978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:17:17.137834"], ["updated_at", "2015-05-22 22:17:17.138202"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:17:17.138900"], ["current_period_start", "2015-05-22 22:17:17.138900"], ["current_period_end", "2015-06-22 22:17:17.138900"], ["created_at", "2015-05-22 22:17:17.139543"], ["updated_at", "2015-05-22 22:17:17.139543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:17:17.141794"], ["updated_at", "2015-05-22 22:17:17.141794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.143515"], ["updated_at", "2015-05-22 22:17:17.143515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.145437"], ["updated_at", "2015-05-22 22:17:17.145437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.146862"], ["updated_at", "2015-05-22 22:17:17.146862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:17:17.150083"], ["updated_at", "2015-05-22 22:17:17.150083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:17:17.150971"], ["updated_at", "2015-05-22 22:17:17.151452"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:17:17.152124"], ["current_period_start", "2015-05-22 22:17:17.152124"], ["current_period_end", "2015-06-22 22:17:17.152124"], ["created_at", "2015-05-22 22:17:17.152745"], ["updated_at", "2015-05-22 22:17:17.152745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:17:17.155688"], ["updated_at", "2015-05-22 22:17:17.155688"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.157624"], ["updated_at", "2015-05-22 22:17:17.157624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:17:17.158786"], ["current_period_start", "2015-05-22 22:17:17.158786"], ["current_period_end", "2015-06-22 22:17:17.158786"], ["created_at", "2015-05-22 22:17:17.159474"], ["updated_at", "2015-05-22 22:17:17.159474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:17:17.161767"], ["updated_at", "2015-05-22 22:17:17.161767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.163232"], ["updated_at", "2015-05-22 22:17:17.163232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:17:17.164668"], ["current_period_start", "2015-05-22 22:17:17.164668"], ["current_period_end", "2015-06-22 22:17:17.164668"], ["created_at", "2015-05-22 22:17:17.165303"], ["updated_at", "2015-05-22 22:17:17.165303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:17:17.166957"], ["updated_at", "2015-05-22 22:17:17.166957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.168556"], ["updated_at", "2015-05-22 22:17:17.168556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:17:17.169234"], ["current_period_start", "2015-05-22 22:17:17.169234"], ["current_period_end", "2015-06-22 22:17:17.169234"], ["created_at", "2015-05-22 22:17:17.169808"], ["updated_at", "2015-05-22 22:17:17.169808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.174107"], ["updated_at", "2015-05-22 22:17:17.174107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:17:16.815706"], ["created_at", "2015-05-22 22:17:17.175630"], ["updated_at", "2015-05-22 22:17:17.175630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:17:17.177294"], ["updated_at", "2015-05-22 22:17:17.177294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.179120"], ["updated_at", "2015-05-22 22:17:17.179120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:17:17.177985"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.180867"], ["updated_at", "2015-05-22 22:17:17.180867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:17:17.177985"], ["status", "generated"], ["created_at", "2015-05-22 22:17:17.182403"], ["updated_at", "2015-05-22 22:17:17.182403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:17:17.184102"], ["updated_at", "2015-05-22 22:17:17.184102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.185969"], ["updated_at", "2015-05-22 22:17:17.185969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.188055"], ["updated_at", "2015-05-22 22:17:17.188055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:17:17.189427"], ["updated_at", "2015-05-22 22:17:17.189427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:17:17.191121"], ["updated_at", "2015-05-22 22:17:17.191121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.193090"], ["updated_at", "2015-05-22 22:17:17.193090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.194526"], ["updated_at", "2015-05-22 22:17:17.194526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:17:17.195935"], ["updated_at", "2015-05-22 22:17:17.195935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:17:17.198178"], ["updated_at", "2015-05-22 22:17:17.198178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.200376"], ["updated_at", "2015-05-22 22:17:17.200376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.201990"], ["updated_at", "2015-05-22 22:17:17.201990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:17:17.203462"], ["updated_at", "2015-05-22 22:17:17.203462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:17:17.209234"], ["updated_at", "2015-05-22 22:17:17.209234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.211955"], ["updated_at", "2015-05-22 22:17:17.211955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.214493"], ["updated_at", "2015-05-22 22:17:17.214493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:17:17.216204"], ["updated_at", "2015-05-22 22:17:17.216204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:17:17.218743"], ["updated_at", "2015-05-22 22:17:17.218743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.220791"], ["updated_at", "2015-05-22 22:17:17.220791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.222479"], ["updated_at", "2015-05-22 22:17:17.222479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:17:17.224140"], ["updated_at", "2015-05-22 22:17:17.224140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:17:17.225964"], ["updated_at", "2015-05-22 22:17:17.225964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.228320"], ["updated_at", "2015-05-22 22:17:17.228320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:17:17.226703"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.230040"], ["updated_at", "2015-05-22 22:17:17.230040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-22 19:17:17.226703"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:17:17.232263"], ["updated_at", "2015-05-22 22:17:17.232263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.235012"], ["updated_at", "2015-05-22 22:17:17.235012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:17:17.236207"], ["updated_at", "2015-05-22 22:17:17.236207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:17:17.238221"], ["updated_at", "2015-05-22 22:17:17.238221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:17:17.239941"], ["updated_at", "2015-05-22 22:17:17.239941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.242769"], ["updated_at", "2015-05-22 22:17:17.242769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.252523"], ["updated_at", "2015-05-22 22:17:17.252523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.258832"], ["updated_at", "2015-05-22 22:17:17.258832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.263855"], ["updated_at", "2015-05-22 22:17:17.263855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.267523"], ["updated_at", "2015-05-22 22:17:17.267523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.271304"], ["updated_at", "2015-05-22 22:17:17.271304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.274816"], ["updated_at", "2015-05-22 22:17:17.274816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.278260"], ["updated_at", "2015-05-22 22:17:17.278260"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.283605"], ["updated_at", "2015-05-22 22:17:17.283605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.286874"], ["updated_at", "2015-05-22 22:17:17.286874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.289703"], ["updated_at", "2015-05-22 22:17:17.289703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.314071"], ["updated_at", "2015-05-22 22:17:17.314071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:17:17.318482"], ["updated_at", "2015-05-22 22:17:17.318482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:17:17.320088"], ["updated_at", "2015-05-22 22:17:17.320088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.321565"], ["updated_at", "2015-05-22 22:17:17.321565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.324286"], ["updated_at", "2015-05-22 22:17:17.324286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.325891"], ["updated_at", "2015-05-22 22:17:17.325891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:17:17.327405"], ["updated_at", "2015-05-22 22:17:17.327405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.800886"], ["updated_at", "2015-05-22 22:21:03.800886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.802960"], ["updated_at", "2015-05-22 22:21:03.802960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.805179"], ["updated_at", "2015-05-22 22:21:03.805179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:21:03.813369"], ["updated_at", "2015-05-22 22:21:03.813369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:21:03.815487"], ["updated_at", "2015-05-22 22:21:03.815487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.817540"], ["updated_at", "2015-05-22 22:21:03.817540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.827604"], ["updated_at", "2015-05-22 22:21:03.827604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:03.852854"], ["updated_at", "2015-05-22 22:21:03.852854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.855031"], ["updated_at", "2015-05-22 22:21:03.855031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.862535"], ["updated_at", "2015-05-22 22:21:03.862535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:03.869746"], ["updated_at", "2015-05-22 22:21:03.869746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:03.884313"], ["updated_at", "2015-05-22 22:21:03.884313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:21:03.885404"], ["updated_at", "2015-05-22 22:21:03.885802"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:21:03.886945"], ["current_period_start", "2015-05-22 22:21:03.886945"], ["current_period_end", "2015-06-22 22:21:03.886945"], ["created_at", "2015-05-22 22:21:03.887572"], ["updated_at", "2015-05-22 22:21:03.887572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:03.890778"], ["updated_at", "2015-05-22 22:21:03.890778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.892894"], ["updated_at", "2015-05-22 22:21:03.892894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.895408"], ["updated_at", "2015-05-22 22:21:03.895408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:03.897745"], ["updated_at", "2015-05-22 22:21:03.897745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:03.902116"], ["updated_at", "2015-05-22 22:21:03.902116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:21:03.903124"], ["updated_at", "2015-05-22 22:21:03.903552"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:21:03.904326"], ["current_period_start", "2015-05-22 22:21:03.904326"], ["current_period_end", "2015-06-22 22:21:03.904326"], ["created_at", "2015-05-22 22:21:03.909652"], ["updated_at", "2015-05-22 22:21:03.909652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:03.912071"], ["updated_at", "2015-05-22 22:21:03.912071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.914330"], ["updated_at", "2015-05-22 22:21:03.914330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.916459"], ["updated_at", "2015-05-22 22:21:03.916459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:03.917865"], ["updated_at", "2015-05-22 22:21:03.917865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:03.920558"], ["updated_at", "2015-05-22 22:21:03.920558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:21:03.921649"], ["updated_at", "2015-05-22 22:21:03.922024"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:21:03.922666"], ["current_period_start", "2015-05-22 22:21:03.922666"], ["current_period_end", "2015-06-22 22:21:03.922666"], ["created_at", "2015-05-22 22:21:03.923356"], ["updated_at", "2015-05-22 22:21:03.923356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:03.926397"], ["updated_at", "2015-05-22 22:21:03.926397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.928802"], ["updated_at", "2015-05-22 22:21:03.928802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:21:03.930878"], ["current_period_start", "2015-05-22 22:21:03.930878"], ["current_period_end", "2015-06-22 22:21:03.930878"], ["created_at", "2015-05-22 22:21:03.931646"], ["updated_at", "2015-05-22 22:21:03.931646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:03.933800"], ["updated_at", "2015-05-22 22:21:03.933800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.935357"], ["updated_at", "2015-05-22 22:21:03.935357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:21:03.936470"], ["current_period_start", "2015-05-22 22:21:03.936470"], ["current_period_end", "2015-06-22 22:21:03.936470"], ["created_at", "2015-05-22 22:21:03.937084"], ["updated_at", "2015-05-22 22:21:03.937084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.939550"], ["updated_at", "2015-05-22 22:21:03.939550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.942680"], ["updated_at", "2015-05-22 22:21:03.942680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.951219"], ["updated_at", "2015-05-22 22:21:03.951219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:21:03.950060"], ["created_at", "2015-05-22 22:21:03.952697"], ["updated_at", "2015-05-22 22:21:03.952697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.955114"], ["updated_at", "2015-05-22 22:21:03.955114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:21:03.617647"], ["created_at", "2015-05-22 22:21:03.956489"], ["updated_at", "2015-05-22 22:21:03.956489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:03.958288"], ["updated_at", "2015-05-22 22:21:03.958288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.961176"], ["updated_at", "2015-05-22 22:21:03.961176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:03.962738"], ["updated_at", "2015-05-22 22:21:03.962738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:03.964233"], ["updated_at", "2015-05-22 22:21:03.964233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:03.966472"], ["updated_at", "2015-05-22 22:21:03.966472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.969112"], ["updated_at", "2015-05-22 22:21:03.969112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:03.970852"], ["updated_at", "2015-05-22 22:21:03.970852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:03.972233"], ["updated_at", "2015-05-22 22:21:03.972233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:03.973882"], ["updated_at", "2015-05-22 22:21:03.973882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.975631"], ["updated_at", "2015-05-22 22:21:03.975631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:21:03.974492"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:03.977005"], ["updated_at", "2015-05-22 22:21:03.977005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:21:03.974492"], ["status", "generated"], ["created_at", "2015-05-22 22:21:03.979153"], ["updated_at", "2015-05-22 22:21:03.979153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.981567"], ["updated_at", "2015-05-22 22:21:03.981567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:03.982530"], ["updated_at", "2015-05-22 22:21:03.982530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:03.984175"], ["updated_at", "2015-05-22 22:21:03.984175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:03.985566"], ["updated_at", "2015-05-22 22:21:03.985566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:03.991843"], ["updated_at", "2015-05-22 22:21:03.991843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:03.994009"], ["updated_at", "2015-05-22 22:21:03.994009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:03.996085"], ["updated_at", "2015-05-22 22:21:03.996085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:03.997793"], ["updated_at", "2015-05-22 22:21:03.997793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:03.999598"], ["updated_at", "2015-05-22 22:21:03.999598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.001793"], ["updated_at", "2015-05-22 22:21:04.001793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:21:04.000450"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:04.003339"], ["updated_at", "2015-05-22 22:21:04.003339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-22 19:21:04.000450"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:04.004879"], ["updated_at", "2015-05-22 22:21:04.004879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:04.006910"], ["updated_at", "2015-05-22 22:21:04.006910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.009266"], ["updated_at", "2015-05-22 22:21:04.009266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:04.011057"], ["updated_at", "2015-05-22 22:21:04.011057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:04.012727"], ["updated_at", "2015-05-22 22:21:04.012727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:04.014608"], ["updated_at", "2015-05-22 22:21:04.014608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.016892"], ["updated_at", "2015-05-22 22:21:04.016892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:04.018790"], ["updated_at", "2015-05-22 22:21:04.018790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:04.021110"], ["updated_at", "2015-05-22 22:21:04.021110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:04.024820"], ["updated_at", "2015-05-22 22:21:04.024820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.027112"], ["updated_at", "2015-05-22 22:21:04.027112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:04.029198"], ["updated_at", "2015-05-22 22:21:04.029198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:04.031611"], ["updated_at", "2015-05-22 22:21:04.031611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.034059"], ["updated_at", "2015-05-22 22:21:04.034059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:21:03.617647"], ["owner_id", 1], ["created_at", "2015-05-22 22:21:04.035820"], ["updated_at", "2015-05-22 22:21:04.035820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:04.039557"], ["updated_at", "2015-05-22 22:21:04.039557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.045805"], ["updated_at", "2015-05-22 22:21:04.045805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:21:03.617647"], ["owner_id", 1], ["created_at", "2015-05-22 22:21:04.047592"], ["updated_at", "2015-05-22 22:21:04.047592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:04.050638"], ["updated_at", "2015-05-22 22:21:04.050638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.053084"], ["updated_at", "2015-05-22 22:21:04.053084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:04.054864"], ["updated_at", "2015-05-22 22:21:04.054864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:04.057487"], ["updated_at", "2015-05-22 22:21:04.057487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:04.059412"], ["updated_at", "2015-05-22 22:21:04.059412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.061422"], ["updated_at", "2015-05-22 22:21:04.061422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:04.064243"], ["updated_at", "2015-05-22 22:21:04.064243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:04.066546"], ["updated_at", "2015-05-22 22:21:04.066546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.068672"], ["updated_at", "2015-05-22 22:21:04.068672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:21:03.617647"], ["owner_id", 1], ["created_at", "2015-05-22 22:21:04.070591"], ["updated_at", "2015-05-22 22:21:04.070591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.072738"], ["updated_at", "2015-05-22 22:21:04.072738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:21:04.071390"], ["owner_id", 1], ["created_at", "2015-05-22 22:21:04.074277"], ["updated_at", "2015-05-22 22:21:04.074277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:21:04.078009"], ["updated_at", "2015-05-22 22:21:04.078009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.079657"], ["updated_at", "2015-05-22 22:21:04.079657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:21:04.081035"], ["current_period_start", "2015-05-22 22:21:04.081035"], ["current_period_end", "2015-06-22 22:21:04.081035"], ["created_at", "2015-05-22 22:21:04.081692"], ["updated_at", "2015-05-22 22:21:04.081692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.110686"], ["updated_at", "2015-05-22 22:21:04.110686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.114421"], ["updated_at", "2015-05-22 22:21:04.114421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.119351"], ["updated_at", "2015-05-22 22:21:04.119351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.122739"], ["updated_at", "2015-05-22 22:21:04.122739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.126805"], ["updated_at", "2015-05-22 22:21:04.126805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.129693"], ["updated_at", "2015-05-22 22:21:04.129693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.132142"], ["updated_at", "2015-05-22 22:21:04.132142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.135717"], ["updated_at", "2015-05-22 22:21:04.135717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.139676"], ["updated_at", "2015-05-22 22:21:04.139676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.143612"], ["updated_at", "2015-05-22 22:21:04.143612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.146341"], ["updated_at", "2015-05-22 22:21:04.146341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.148986"], ["updated_at", "2015-05-22 22:21:04.148986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:21:04.150616"], ["updated_at", "2015-05-22 22:21:04.150616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:21:04.151592"], ["updated_at", "2015-05-22 22:21:04.151989"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:04.154313"], ["updated_at", "2015-05-22 22:21:04.154313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:21:04.153196"], ["created_at", "2015-05-22 22:21:04.155785"], ["updated_at", "2015-05-22 22:21:04.155785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.525943"], ["updated_at", "2015-05-22 22:21:37.525943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:21:37.339271"], ["created_at", "2015-05-22 22:21:37.532507"], ["updated_at", "2015-05-22 22:21:37.532507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:37.536896"], ["updated_at", "2015-05-22 22:21:37.536896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.539071"], ["updated_at", "2015-05-22 22:21:37.539071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:21:37.537680"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.541153"], ["updated_at", "2015-05-22 22:21:37.541153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-22 19:21:37.537680"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:37.548482"], ["updated_at", "2015-05-22 22:21:37.548482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:37.550748"], ["updated_at", "2015-05-22 22:21:37.550748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.553029"], ["updated_at", "2015-05-22 22:21:37.553029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.554497"], ["updated_at", "2015-05-22 22:21:37.554497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:37.556165"], ["updated_at", "2015-05-22 22:21:37.556165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:37.558995"], ["updated_at", "2015-05-22 22:21:37.558995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.561280"], ["updated_at", "2015-05-22 22:21:37.561280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.562720"], ["updated_at", "2015-05-22 22:21:37.562720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:37.564152"], ["updated_at", "2015-05-22 22:21:37.564152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:37.565592"], ["updated_at", "2015-05-22 22:21:37.565592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.568528"], ["updated_at", "2015-05-22 22:21:37.568528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:21:37.566197"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.570516"], ["updated_at", "2015-05-22 22:21:37.570516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:21:37.566197"], ["status", "generated"], ["created_at", "2015-05-22 22:21:37.572076"], ["updated_at", "2015-05-22 22:21:37.572076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:37.573736"], ["updated_at", "2015-05-22 22:21:37.573736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.576334"], ["updated_at", "2015-05-22 22:21:37.576334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.578223"], ["updated_at", "2015-05-22 22:21:37.578223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:37.579798"], ["updated_at", "2015-05-22 22:21:37.579798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.582091"], ["updated_at", "2015-05-22 22:21:37.582091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:37.583038"], ["updated_at", "2015-05-22 22:21:37.583038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.584697"], ["updated_at", "2015-05-22 22:21:37.584697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:37.586024"], ["updated_at", "2015-05-22 22:21:37.586024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:37.592602"], ["updated_at", "2015-05-22 22:21:37.592602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.594742"], ["updated_at", "2015-05-22 22:21:37.594742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.596553"], ["updated_at", "2015-05-22 22:21:37.596553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:37.598134"], ["updated_at", "2015-05-22 22:21:37.598134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:21:37.599965"], ["updated_at", "2015-05-22 22:21:37.599965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.601931"], ["updated_at", "2015-05-22 22:21:37.601931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.603522"], ["updated_at", "2015-05-22 22:21:37.603522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:37.605051"], ["updated_at", "2015-05-22 22:21:37.605051"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:21:37.606750"], ["updated_at", "2015-05-22 22:21:37.606750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.609389"], ["updated_at", "2015-05-22 22:21:37.609389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:21:37.610323"], ["current_period_start", "2015-05-22 22:21:37.610323"], ["current_period_end", "2015-06-22 22:21:37.610323"], ["created_at", "2015-05-22 22:21:37.611132"], ["updated_at", "2015-05-22 22:21:37.611132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.615252"], ["updated_at", "2015-05-22 22:21:37.615252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:21:37.613623"], ["created_at", "2015-05-22 22:21:37.617172"], ["updated_at", "2015-05-22 22:21:37.617172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.624484"], ["updated_at", "2015-05-22 22:21:37.624484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.632827"], ["updated_at", "2015-05-22 22:21:37.632827"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.640343"], ["updated_at", "2015-05-22 22:21:37.640343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:21:37.638997"], ["created_at", "2015-05-22 22:21:37.641970"], ["updated_at", "2015-05-22 22:21:37.641970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.644687"], ["updated_at", "2015-05-22 22:21:37.644687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:21:37.646254"], ["updated_at", "2015-05-22 22:21:37.646254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:21:37.647183"], ["updated_at", "2015-05-22 22:21:37.647693"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:37.655049"], ["updated_at", "2015-05-22 22:21:37.655049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.657437"], ["updated_at", "2015-05-22 22:21:37.657437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:21:37.339271"], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.659317"], ["updated_at", "2015-05-22 22:21:37.659317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.662471"], ["updated_at", "2015-05-22 22:21:37.662471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:21:37.660219"], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.664187"], ["updated_at", "2015-05-22 22:21:37.664187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:37.671903"], ["updated_at", "2015-05-22 22:21:37.671903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.673841"], ["updated_at", "2015-05-22 22:21:37.673841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.675464"], ["updated_at", "2015-05-22 22:21:37.675464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:37.677634"], ["updated_at", "2015-05-22 22:21:37.677634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.680124"], ["updated_at", "2015-05-22 22:21:37.680124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:21:37.339271"], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.681783"], ["updated_at", "2015-05-22 22:21:37.681783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:37.683985"], ["updated_at", "2015-05-22 22:21:37.683985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.686214"], ["updated_at", "2015-05-22 22:21:37.686214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.687832"], ["updated_at", "2015-05-22 22:21:37.687832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:37.690009"], ["updated_at", "2015-05-22 22:21:37.690009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:37.692329"], ["updated_at", "2015-05-22 22:21:37.692329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.695085"], ["updated_at", "2015-05-22 22:21:37.695085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:21:37.339271"], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.697148"], ["updated_at", "2015-05-22 22:21:37.697148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:37.699381"], ["updated_at", "2015-05-22 22:21:37.699381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.701827"], ["updated_at", "2015-05-22 22:21:37.701827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.703629"], ["updated_at", "2015-05-22 22:21:37.703629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:37.730672"], ["updated_at", "2015-05-22 22:21:37.730672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.732781"], ["updated_at", "2015-05-22 22:21:37.732781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:21:37.734614"], ["current_period_start", "2015-05-22 22:21:37.734614"], ["current_period_end", "2015-06-22 22:21:37.734614"], ["created_at", "2015-05-22 22:21:37.735856"], ["updated_at", "2015-05-22 22:21:37.735856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:37.737681"], ["updated_at", "2015-05-22 22:21:37.737681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.739379"], ["updated_at", "2015-05-22 22:21:37.739379"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:21:37.741364"], ["current_period_start", "2015-05-22 22:21:37.741364"], ["current_period_end", "2015-06-22 22:21:37.741364"], ["created_at", "2015-05-22 22:21:37.742075"], ["updated_at", "2015-05-22 22:21:37.742075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:37.744959"], ["updated_at", "2015-05-22 22:21:37.744959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.746664"], ["updated_at", "2015-05-22 22:21:37.746664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.748557"], ["updated_at", "2015-05-22 22:21:37.748557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.750117"], ["updated_at", "2015-05-22 22:21:37.750117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:37.753800"], ["updated_at", "2015-05-22 22:21:37.753800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:21:37.754734"], ["updated_at", "2015-05-22 22:21:37.755146"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:21:37.755871"], ["current_period_start", "2015-05-22 22:21:37.755871"], ["current_period_end", "2015-06-22 22:21:37.755871"], ["created_at", "2015-05-22 22:21:37.756451"], ["updated_at", "2015-05-22 22:21:37.756451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:37.759481"], ["updated_at", "2015-05-22 22:21:37.759481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.761255"], ["updated_at", "2015-05-22 22:21:37.761255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.768882"], ["updated_at", "2015-05-22 22:21:37.768882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.770644"], ["updated_at", "2015-05-22 22:21:37.770644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:37.775184"], ["updated_at", "2015-05-22 22:21:37.775184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:21:37.776171"], ["updated_at", "2015-05-22 22:21:37.776537"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:21:37.777207"], ["current_period_start", "2015-05-22 22:21:37.777207"], ["current_period_end", "2015-06-22 22:21:37.777207"], ["created_at", "2015-05-22 22:21:37.777776"], ["updated_at", "2015-05-22 22:21:37.777776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:21:37.779910"], ["updated_at", "2015-05-22 22:21:37.779910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.781424"], ["updated_at", "2015-05-22 22:21:37.781424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.783081"], ["updated_at", "2015-05-22 22:21:37.783081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:21:37.784547"], ["updated_at", "2015-05-22 22:21:37.784547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:21:37.787846"], ["updated_at", "2015-05-22 22:21:37.787846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:21:37.788744"], ["updated_at", "2015-05-22 22:21:37.789126"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:21:37.789752"], ["current_period_start", "2015-05-22 22:21:37.789752"], ["current_period_end", "2015-06-22 22:21:37.789752"], ["created_at", "2015-05-22 22:21:37.790292"], ["updated_at", "2015-05-22 22:21:37.790292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.793441"], ["updated_at", "2015-05-22 22:21:37.793441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.796152"], ["updated_at", "2015-05-22 22:21:37.796152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.799855"], ["updated_at", "2015-05-22 22:21:37.799855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.804747"], ["updated_at", "2015-05-22 22:21:37.804747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.808291"], ["updated_at", "2015-05-22 22:21:37.808291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.810938"], ["updated_at", "2015-05-22 22:21:37.810938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.813793"], ["updated_at", "2015-05-22 22:21:37.813793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.816769"], ["updated_at", "2015-05-22 22:21:37.816769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.823533"], ["updated_at", "2015-05-22 22:21:37.823533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.826498"], ["updated_at", "2015-05-22 22:21:37.826498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.829081"], ["updated_at", "2015-05-22 22:21:37.829081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.854717"], ["updated_at", "2015-05-22 22:21:37.854717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.858069"], ["updated_at", "2015-05-22 22:21:37.858069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.859695"], ["updated_at", "2015-05-22 22:21:37.859695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.861444"], ["updated_at", "2015-05-22 22:21:37.861444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:21:37.865787"], ["updated_at", "2015-05-22 22:21:37.865787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:21:37.867424"], ["updated_at", "2015-05-22 22:21:37.867424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:21:37.869974"], ["updated_at", "2015-05-22 22:21:37.869974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.320143"], ["updated_at", "2015-05-22 22:26:13.320143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:26:13.292620"], ["created_at", "2015-05-22 22:26:13.325287"], ["updated_at", "2015-05-22 22:26:13.325287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.328665"], ["updated_at", "2015-05-22 22:26:13.328665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-22 22:26:13.330125"], ["updated_at", "2015-05-22 22:26:13.330125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:26:13.330929"], ["updated_at", "2015-05-22 22:26:13.331286"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.338094"], ["updated_at", "2015-05-22 22:26:13.338094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:26:13.132368"], ["created_at", "2015-05-22 22:26:13.339931"], ["updated_at", "2015-05-22 22:26:13.339931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.342439"], ["updated_at", "2015-05-22 22:26:13.342439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:26:13.345715"], ["updated_at", "2015-05-22 22:26:13.345715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.348284"], ["updated_at", "2015-05-22 22:26:13.348284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:26:13.356823"], ["updated_at", "2015-05-22 22:26:13.356823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:26:13.359042"], ["updated_at", "2015-05-22 22:26:13.359042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.360958"], ["updated_at", "2015-05-22 22:26:13.360958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.362355"], ["updated_at", "2015-05-22 22:26:13.362355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:26:13.363733"], ["updated_at", "2015-05-22 22:26:13.363733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:26:13.365379"], ["updated_at", "2015-05-22 22:26:13.365379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.367204"], ["updated_at", "2015-05-22 22:26:13.367204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 19:26:13.366027"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.368637"], ["updated_at", "2015-05-22 22:26:13.368637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-22 19:26:13.366027"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:26:13.370309"], ["updated_at", "2015-05-22 22:26:13.370309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:26:13.371977"], ["updated_at", "2015-05-22 22:26:13.371977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.374418"], ["updated_at", "2015-05-22 22:26:13.374418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.376672"], ["updated_at", "2015-05-22 22:26:13.376672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:26:13.378058"], ["updated_at", "2015-05-22 22:26:13.378058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:26:13.384823"], ["updated_at", "2015-05-22 22:26:13.384823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.387349"], ["updated_at", "2015-05-22 22:26:13.387349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.389116"], ["updated_at", "2015-05-22 22:26:13.389116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:26:13.390550"], ["updated_at", "2015-05-22 22:26:13.390550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:26:13.392219"], ["updated_at", "2015-05-22 22:26:13.392219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.394153"], ["updated_at", "2015-05-22 22:26:13.394153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 01:26:13.392831"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.395521"], ["updated_at", "2015-05-22 22:26:13.395521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 01:26:13.392831"], ["status", "generated"], ["created_at", "2015-05-22 22:26:13.397279"], ["updated_at", "2015-05-22 22:26:13.397279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:26:13.399290"], ["updated_at", "2015-05-22 22:26:13.399290"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.401564"], ["updated_at", "2015-05-22 22:26:13.401564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.403410"], ["updated_at", "2015-05-22 22:26:13.403410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:26:13.405162"], ["updated_at", "2015-05-22 22:26:13.405162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-22 22:26:13.407032"], ["updated_at", "2015-05-22 22:26:13.407032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.409410"], ["updated_at", "2015-05-22 22:26:13.409410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.412393"], ["updated_at", "2015-05-22 22:26:13.412393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:26:13.414683"], ["updated_at", "2015-05-22 22:26:13.414683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.455197"], ["updated_at", "2015-05-22 22:26:13.455197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.456940"], ["updated_at", "2015-05-22 22:26:13.456940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.459446"], ["updated_at", "2015-05-22 22:26:13.459446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:26:13.464897"], ["updated_at", "2015-05-22 22:26:13.464897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-22 22:26:13.466468"], ["updated_at", "2015-05-22 22:26:13.466468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.467900"], ["updated_at", "2015-05-22 22:26:13.467900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.477828"], ["updated_at", "2015-05-22 22:26:13.477828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:26:13.496241"], ["updated_at", "2015-05-22 22:26:13.496241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.498708"], ["updated_at", "2015-05-22 22:26:13.498708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:26:13.132368"], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.500575"], ["updated_at", "2015-05-22 22:26:13.500575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:26:13.507665"], ["updated_at", "2015-05-22 22:26:13.507665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.509900"], ["updated_at", "2015-05-22 22:26:13.509900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.512036"], ["updated_at", "2015-05-22 22:26:13.512036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:26:13.514269"], ["updated_at", "2015-05-22 22:26:13.514269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:26:13.516122"], ["updated_at", "2015-05-22 22:26:13.516122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.517985"], ["updated_at", "2015-05-22 22:26:13.517985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:26:13.132368"], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.519641"], ["updated_at", "2015-05-22 22:26:13.519641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:26:13.521660"], ["updated_at", "2015-05-22 22:26:13.521660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.523393"], ["updated_at", "2015-05-22 22:26:13.523393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.524835"], ["updated_at", "2015-05-22 22:26:13.524835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:26:13.527109"], ["updated_at", "2015-05-22 22:26:13.527109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.529306"], ["updated_at", "2015-05-22 22:26:13.529306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 22:26:13.132368"], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.531422"], ["updated_at", "2015-05-22 22:26:13.531422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.534566"], ["updated_at", "2015-05-22 22:26:13.534566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-17 22:26:13.533031"], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.536215"], ["updated_at", "2015-05-22 22:26:13.536215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:26:13.538376"], ["updated_at", "2015-05-22 22:26:13.538376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.540309"], ["updated_at", "2015-05-22 22:26:13.540309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.541883"], ["updated_at", "2015-05-22 22:26:13.541883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.551068"], ["updated_at", "2015-05-22 22:26:13.551068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.553983"], ["updated_at", "2015-05-22 22:26:13.553983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.562362"], ["updated_at", "2015-05-22 22:26:13.562362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 22:26:13.561284"], ["created_at", "2015-05-22 22:26:13.564488"], ["updated_at", "2015-05-22 22:26:13.564488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.567541"], ["updated_at", "2015-05-22 22:26:13.567541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.570540"], ["updated_at", "2015-05-22 22:26:13.570540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.574451"], ["updated_at", "2015-05-22 22:26:13.574451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.577342"], ["updated_at", "2015-05-22 22:26:13.577342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.580277"], ["updated_at", "2015-05-22 22:26:13.580277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.584530"], ["updated_at", "2015-05-22 22:26:13.584530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.587792"], ["updated_at", "2015-05-22 22:26:13.587792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.590495"], ["updated_at", "2015-05-22 22:26:13.590495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.593196"], ["updated_at", "2015-05-22 22:26:13.593196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.597143"], ["updated_at", "2015-05-22 22:26:13.597143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.602785"], ["updated_at", "2015-05-22 22:26:13.602785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:26:13.605117"], ["updated_at", "2015-05-22 22:26:13.605117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.606669"], ["updated_at", "2015-05-22 22:26:13.606669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:26:13.607927"], ["current_period_start", "2015-05-22 22:26:13.607927"], ["current_period_end", "2015-06-22 22:26:13.607927"], ["created_at", "2015-05-22 22:26:13.608579"], ["updated_at", "2015-05-22 22:26:13.608579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:26:13.610163"], ["updated_at", "2015-05-22 22:26:13.610163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.611600"], ["updated_at", "2015-05-22 22:26:13.611600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:26:13.613254"], ["current_period_start", "2015-05-22 22:26:13.613254"], ["current_period_end", "2015-06-22 22:26:13.613254"], ["created_at", "2015-05-22 22:26:13.614349"], ["updated_at", "2015-05-22 22:26:13.614349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:26:13.617652"], ["updated_at", "2015-05-22 22:26:13.617652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.619521"], ["updated_at", "2015-05-22 22:26:13.619521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.621643"], ["updated_at", "2015-05-22 22:26:13.621643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.623319"], ["updated_at", "2015-05-22 22:26:13.623319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:26:13.628047"], ["updated_at", "2015-05-22 22:26:13.628047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:26:13.629209"], ["updated_at", "2015-05-22 22:26:13.629729"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:26:13.630527"], ["current_period_start", "2015-05-22 22:26:13.630527"], ["current_period_end", "2015-06-22 22:26:13.630527"], ["created_at", "2015-05-22 22:26:13.631179"], ["updated_at", "2015-05-22 22:26:13.631179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:26:13.633843"], ["updated_at", "2015-05-22 22:26:13.633843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.635736"], ["updated_at", "2015-05-22 22:26:13.635736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.637835"], ["updated_at", "2015-05-22 22:26:13.637835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.639368"], ["updated_at", "2015-05-22 22:26:13.639368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:26:13.642924"], ["updated_at", "2015-05-22 22:26:13.642924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:26:13.643950"], ["updated_at", "2015-05-22 22:26:13.644580"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:26:13.645363"], ["current_period_start", "2015-05-22 22:26:13.645363"], ["current_period_end", "2015-06-22 22:26:13.645363"], ["created_at", "2015-05-22 22:26:13.646014"], ["updated_at", "2015-05-22 22:26:13.646014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 22:26:13.648396"], ["updated_at", "2015-05-22 22:26:13.648396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.650188"], ["updated_at", "2015-05-22 22:26:13.650188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.652456"], ["updated_at", "2015-05-22 22:26:13.652456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 22:26:13.654229"], ["updated_at", "2015-05-22 22:26:13.654229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 22:26:13.658118"], ["updated_at", "2015-05-22 22:26:13.658118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 22:26:13.659486"], ["updated_at", "2015-05-22 22:26:13.660068"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:26:13.660968"], ["current_period_start", "2015-05-22 22:26:13.660968"], ["current_period_end", "2015-06-22 22:26:13.660968"], ["created_at", "2015-05-22 22:26:13.661730"], ["updated_at", "2015-05-22 22:26:13.661730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-22 22:26:13.666858"], ["updated_at", "2015-05-22 22:26:13.666858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 22:26:13.669056"], ["updated_at", "2015-05-22 22:26:13.669056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 22:26:13.669838"], ["current_period_start", "2015-05-22 22:26:13.669838"], ["current_period_end", "2015-06-22 22:26:13.669838"], ["created_at", "2015-05-22 22:26:13.670509"], ["updated_at", "2015-05-22 22:26:13.670509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 23:48:21.269750"], ["updated_at", "2015-05-22 23:48:21.269750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:48:21.282025"], ["updated_at", "2015-05-22 23:48:21.282025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:48:21.290796"], ["updated_at", "2015-05-22 23:48:21.290796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 23:48:21.298136"], ["updated_at", "2015-05-22 23:48:21.298136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 23:48:21.316060"], ["updated_at", "2015-05-22 23:48:21.316060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 23:48:21.317440"], ["updated_at", "2015-05-22 23:48:21.317884"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 23:48:21.321009"], ["current_period_start", "2015-05-22 23:48:21.321009"], ["current_period_end", "2015-06-22 23:48:21.321009"], ["created_at", "2015-05-22 23:48:21.322139"], ["updated_at", "2015-05-22 23:48:21.322139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 23:48:21.329455"], ["updated_at", "2015-05-22 23:48:21.329455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:48:21.331441"], ["updated_at", "2015-05-22 23:48:21.331441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:48:21.334930"], ["updated_at", "2015-05-22 23:48:21.334930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 23:48:21.336577"], ["updated_at", "2015-05-22 23:48:21.336577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 23:48:21.339486"], ["updated_at", "2015-05-22 23:48:21.339486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 23:48:21.340411"], ["updated_at", "2015-05-22 23:48:21.340784"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-22 23:48:21.341442"], ["current_period_start", "2015-05-22 23:48:21.341442"], ["current_period_end", "2015-06-22 23:48:21.341442"], ["created_at", "2015-05-22 23:48:21.341992"], ["updated_at", "2015-05-22 23:48:21.341992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 23:49:58.220898"], ["updated_at", "2015-05-22 23:49:58.220898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:49:58.232238"], ["updated_at", "2015-05-22 23:49:58.232238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:49:58.240629"], ["updated_at", "2015-05-22 23:49:58.240629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 23:49:58.245566"], ["updated_at", "2015-05-22 23:49:58.245566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 23:49:58.262452"], ["updated_at", "2015-05-22 23:49:58.262452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 23:49:58.263818"], ["updated_at", "2015-05-22 23:49:58.264268"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 23:49:58.269157"], ["updated_at", "2015-05-22 23:49:58.269157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:49:58.270843"], ["updated_at", "2015-05-22 23:49:58.270843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:49:58.272798"], ["updated_at", "2015-05-22 23:49:58.272798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 23:49:58.274155"], ["updated_at", "2015-05-22 23:49:58.274155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 23:49:58.276922"], ["updated_at", "2015-05-22 23:49:58.276922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 23:49:58.277796"], ["updated_at", "2015-05-22 23:49:58.278186"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 23:50:36.464963"], ["updated_at", "2015-05-22 23:50:36.464963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:50:36.476887"], ["updated_at", "2015-05-22 23:50:36.476887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:50:36.485294"], ["updated_at", "2015-05-22 23:50:36.485294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 23:50:36.490794"], ["updated_at", "2015-05-22 23:50:36.490794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 23:50:36.509250"], ["updated_at", "2015-05-22 23:50:36.509250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 23:50:36.510505"], ["updated_at", "2015-05-22 23:50:36.510958"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 23:50:36.515959"], ["updated_at", "2015-05-22 23:50:36.515959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:50:36.517836"], ["updated_at", "2015-05-22 23:50:36.517836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:50:36.519655"], ["updated_at", "2015-05-22 23:50:36.519655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 23:50:36.521042"], ["updated_at", "2015-05-22 23:50:36.521042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 23:50:36.523665"], ["updated_at", "2015-05-22 23:50:36.523665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 23:50:36.524639"], ["updated_at", "2015-05-22 23:50:36.525010"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 23:50:58.230931"], ["updated_at", "2015-05-22 23:50:58.230931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:50:58.242400"], ["updated_at", "2015-05-22 23:50:58.242400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:50:58.251232"], ["updated_at", "2015-05-22 23:50:58.251232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 23:50:58.257497"], ["updated_at", "2015-05-22 23:50:58.257497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 23:50:58.275197"], ["updated_at", "2015-05-22 23:50:58.275197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 23:50:58.276776"], ["updated_at", "2015-05-22 23:50:58.277276"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 23:50:58.282852"], ["updated_at", "2015-05-22 23:50:58.282852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:50:58.284733"], ["updated_at", "2015-05-22 23:50:58.284733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:50:58.287386"], ["updated_at", "2015-05-22 23:50:58.287386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 23:50:58.289427"], ["updated_at", "2015-05-22 23:50:58.289427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 23:50:58.297730"], ["updated_at", "2015-05-22 23:50:58.297730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 23:50:58.298768"], ["updated_at", "2015-05-22 23:50:58.299218"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 23:51:06.433067"], ["updated_at", "2015-05-22 23:51:06.433067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:51:06.445306"], ["updated_at", "2015-05-22 23:51:06.445306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:51:06.455621"], ["updated_at", "2015-05-22 23:51:06.455621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-07 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 23:51:06.461557"], ["updated_at", "2015-05-22 23:51:06.461557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-07 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 23:51:06.477372"], ["updated_at", "2015-05-22 23:51:06.477372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 23:51:06.478676"], ["updated_at", "2015-05-22 23:51:06.479102"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-22 23:51:06.487892"], ["updated_at", "2015-05-22 23:51:06.487892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:51:06.489601"], ["updated_at", "2015-05-22 23:51:06.489601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-22 23:51:06.491324"], ["updated_at", "2015-05-22 23:51:06.491324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-22 23:51:06.493258"], ["updated_at", "2015-05-22 23:51:06.493258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-22 23:51:06.497496"], ["updated_at", "2015-05-22 23:51:06.497496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-22 23:51:06.499084"], ["updated_at", "2015-05-22 23:51:06.499550"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:04:30.779407"], ["updated_at", "2015-05-23 00:04:30.779407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:04:30.791149"], ["updated_at", "2015-05-23 00:04:30.791149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:04:30.800462"], ["updated_at", "2015-05-23 00:04:30.800462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:04:30.677812"], ["owner_id", 1], ["created_at", "2015-05-23 00:04:30.806882"], ["updated_at", "2015-05-23 00:04:30.806882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:04:30.814745"], ["updated_at", "2015-05-23 00:04:30.814745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:04:30.816562"], ["updated_at", "2015-05-23 00:04:30.816562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:04:30.818328"], ["updated_at", "2015-05-23 00:04:30.818328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:04:30.820079"], ["updated_at", "2015-05-23 00:04:30.820079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:04:30.833162"], ["updated_at", "2015-05-23 00:04:30.833162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:04:30.834461"], ["updated_at", "2015-05-23 00:04:30.834929"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:04:30.840809"], ["updated_at", "2015-05-23 00:04:30.840809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:04:30.842724"], ["updated_at", "2015-05-23 00:04:30.842724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:04:30.844728"], ["updated_at", "2015-05-23 00:04:30.844728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-08 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:04:30.846078"], ["updated_at", "2015-05-23 00:04:30.846078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-08 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:04:30.848927"], ["updated_at", "2015-05-23 00:04:30.848927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:04:30.849754"], ["updated_at", "2015-05-23 00:04:30.850117"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:10:16.149501"], ["updated_at", "2015-05-23 00:10:16.149501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:16.162952"], ["updated_at", "2015-05-23 00:10:16.162952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:16.172169"], ["updated_at", "2015-05-23 00:10:16.172169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:10:16.048547"], ["owner_id", 1], ["created_at", "2015-05-23 00:10:16.177582"], ["updated_at", "2015-05-23 00:10:16.177582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:10:16.185388"], ["updated_at", "2015-05-23 00:10:16.185388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:10:30.791133"], ["updated_at", "2015-05-23 00:10:30.791133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:30.804507"], ["updated_at", "2015-05-23 00:10:30.804507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:30.812687"], ["updated_at", "2015-05-23 00:10:30.812687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:10:30.817883"], ["updated_at", "2015-05-23 00:10:30.817883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:10:30.834121"], ["updated_at", "2015-05-23 00:10:30.834121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:10:30.836621"], ["updated_at", "2015-05-23 00:10:30.836621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:30.838467"], ["updated_at", "2015-05-23 00:10:30.838467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:30.840698"], ["updated_at", "2015-05-23 00:10:30.840698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:10:30.691966"], ["owner_id", 1], ["created_at", "2015-05-23 00:10:30.842174"], ["updated_at", "2015-05-23 00:10:30.842174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:10:38.940671"], ["updated_at", "2015-05-23 00:10:38.940671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:38.952826"], ["updated_at", "2015-05-23 00:10:38.952826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:38.961574"], ["updated_at", "2015-05-23 00:10:38.961574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:10:38.839508"], ["owner_id", 1], ["created_at", "2015-05-23 00:10:38.967978"], ["updated_at", "2015-05-23 00:10:38.967978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:10:38.975310"], ["updated_at", "2015-05-23 00:10:38.975310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:38.977215"], ["updated_at", "2015-05-23 00:10:38.977215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:38.979071"], ["updated_at", "2015-05-23 00:10:38.979071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:10:38.980910"], ["updated_at", "2015-05-23 00:10:38.980910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:10:38.993620"], ["updated_at", "2015-05-23 00:10:38.993620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:10:57.952179"], ["updated_at", "2015-05-23 00:10:57.952179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:57.965069"], ["updated_at", "2015-05-23 00:10:57.965069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:57.973527"], ["updated_at", "2015-05-23 00:10:57.973527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:10:57.853635"], ["owner_id", 1], ["created_at", "2015-05-23 00:10:57.978949"], ["updated_at", "2015-05-23 00:10:57.978949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:10:57.986217"], ["updated_at", "2015-05-23 00:10:57.986217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:57.987976"], ["updated_at", "2015-05-23 00:10:57.987976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:10:57.989756"], ["updated_at", "2015-05-23 00:10:57.989756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:10:57.992708"], ["updated_at", "2015-05-23 00:10:57.992708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:10:58.006247"], ["updated_at", "2015-05-23 00:10:58.006247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:16:20.136224"], ["updated_at", "2015-05-23 00:16:20.136224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:16:20.018713"], ["created_at", "2015-05-23 00:16:20.143353"], ["updated_at", "2015-05-23 00:16:20.143353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:16:20.152586"], ["updated_at", "2015-05-23 00:16:20.152586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:16:20.155340"], ["updated_at", "2015-05-23 00:16:20.155340"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:16:20.157803"], ["updated_at", "2015-05-23 00:16:20.157803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:16:20.167851"], ["updated_at", "2015-05-23 00:16:20.167851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:16:20.171542"], ["updated_at", "2015-05-23 00:16:20.171542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:16:20.175279"], ["updated_at", "2015-05-23 00:16:20.175279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:16:20.177372"], ["updated_at", "2015-05-23 00:16:20.177372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:16:20.178886"], ["updated_at", "2015-05-23 00:16:20.178886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:16:20.188453"], ["updated_at", "2015-05-23 00:16:20.188453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:16:20.190494"], ["updated_at", "2015-05-23 00:16:20.190494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:16:20.192004"], ["updated_at", "2015-05-23 00:16:20.192004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:16:20.193469"], ["updated_at", "2015-05-23 00:16:20.193469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:16:20.195603"], ["updated_at", "2015-05-23 00:16:20.195603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:16:20.198007"], ["updated_at", "2015-05-23 00:16:20.198007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 21:16:20.196425"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:16:20.199647"], ["updated_at", "2015-05-23 00:16:20.199647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-22 21:16:20.196425"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:16:20.201880"], ["updated_at", "2015-05-23 00:16:20.201880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:16:20.205609"], ["updated_at", "2015-05-23 00:16:20.205609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:16:20.206678"], ["updated_at", "2015-05-23 00:16:20.206678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:16:20.208474"], ["updated_at", "2015-05-23 00:16:20.208474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 9], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:16:20.209910"], ["updated_at", "2015-05-23 00:16:20.209910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:16:20.211613"], ["updated_at", "2015-05-23 00:16:20.211613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:16:20.213658"], ["updated_at", "2015-05-23 00:16:20.213658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:16:20.215087"], ["updated_at", "2015-05-23 00:16:20.215087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:16:20.216460"], ["updated_at", "2015-05-23 00:16:20.216460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:16:20.218081"], ["updated_at", "2015-05-23 00:16:20.218081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:16:20.220235"], ["updated_at", "2015-05-23 00:16:20.220235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:16:20.221915"], ["updated_at", "2015-05-23 00:16:20.221915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:16:20.223433"], ["updated_at", "2015-05-23 00:16:20.223433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:16:20.225744"], ["updated_at", "2015-05-23 00:16:20.225744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:16:20.226748"], ["updated_at", "2015-05-23 00:16:20.226748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:16:20.234609"], ["updated_at", "2015-05-23 00:16:20.234609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:16:20.236501"], ["updated_at", "2015-05-23 00:16:20.236501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:16:20.238190"], ["updated_at", "2015-05-23 00:16:20.238190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:16:20.241029"], ["updated_at", "2015-05-23 00:16:20.241029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 03:16:20.239161"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:16:20.242627"], ["updated_at", "2015-05-23 00:16:20.242627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 03:16:20.239161"], ["status", "generated"], ["created_at", "2015-05-23 00:16:20.244980"], ["updated_at", "2015-05-23 00:16:20.244980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:17:37.544394"], ["updated_at", "2015-05-23 00:17:37.544394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:17:37.431710"], ["created_at", "2015-05-23 00:17:37.549458"], ["updated_at", "2015-05-23 00:17:37.549458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:17:37.562330"], ["updated_at", "2015-05-23 00:17:37.562330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:17:37.564740"], ["updated_at", "2015-05-23 00:17:37.564740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:17:37.566794"], ["updated_at", "2015-05-23 00:17:37.566794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:17:37.575688"], ["updated_at", "2015-05-23 00:17:37.575688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:17:37.582720"], ["updated_at", "2015-05-23 00:17:37.582720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:17:37.585543"], ["updated_at", "2015-05-23 00:17:37.585543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 21:17:37.583868"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:17:37.587142"], ["updated_at", "2015-05-23 00:17:37.587142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-22 21:17:37.583868"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:17:37.589293"], ["updated_at", "2015-05-23 00:17:37.589293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:17:37.592603"], ["updated_at", "2015-05-23 00:17:37.592603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:17:37.594267"], ["updated_at", "2015-05-23 00:17:37.594267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:17:37.596908"], ["updated_at", "2015-05-23 00:17:37.596908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:17:37.598789"], ["updated_at", "2015-05-23 00:17:37.598789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:17:37.600773"], ["updated_at", "2015-05-23 00:17:37.600773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:17:37.603106"], ["updated_at", "2015-05-23 00:17:37.603106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:17:37.605119"], ["updated_at", "2015-05-23 00:17:37.605119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:17:37.607161"], ["updated_at", "2015-05-23 00:17:37.607161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:17:37.609665"], ["updated_at", "2015-05-23 00:17:37.609665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:17:37.610787"], ["updated_at", "2015-05-23 00:17:37.610787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:17:37.613264"], ["updated_at", "2015-05-23 00:17:37.613264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 9], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:17:37.615375"], ["updated_at", "2015-05-23 00:17:37.615375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:17:37.617315"], ["updated_at", "2015-05-23 00:17:37.617315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:17:37.619566"], ["updated_at", "2015-05-23 00:17:37.619566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 03:17:37.617980"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:17:37.621198"], ["updated_at", "2015-05-23 00:17:37.621198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 03:17:37.617980"], ["status", "generated"], ["created_at", "2015-05-23 00:17:37.622798"], ["updated_at", "2015-05-23 00:17:37.622798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:17:37.624543"], ["updated_at", "2015-05-23 00:17:37.624543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:17:37.626565"], ["updated_at", "2015-05-23 00:17:37.626565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:17:37.628221"], ["updated_at", "2015-05-23 00:17:37.628221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:17:37.629778"], ["updated_at", "2015-05-23 00:17:37.629778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:17:37.631716"], ["updated_at", "2015-05-23 00:17:37.631716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:17:37.634225"], ["updated_at", "2015-05-23 00:17:37.634225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:17:37.641233"], ["updated_at", "2015-05-23 00:17:37.641233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:17:37.642702"], ["updated_at", "2015-05-23 00:17:37.642702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:17:37.644622"], ["updated_at", "2015-05-23 00:17:37.644622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:17:37.646458"], ["updated_at", "2015-05-23 00:17:37.646458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:17:37.648439"], ["updated_at", "2015-05-23 00:17:37.648439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:17:37.650121"], ["updated_at", "2015-05-23 00:17:37.650121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.6ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:06.941851"], ["updated_at", "2015-05-23 00:18:06.941851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:18:06.828350"], ["created_at", "2015-05-23 00:18:06.946765"], ["updated_at", "2015-05-23 00:18:06.946765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:06.949769"], ["updated_at", "2015-05-23 00:18:06.949769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:06.956032"], ["updated_at", "2015-05-23 00:18:06.956032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:06.959144"], ["updated_at", "2015-05-23 00:18:06.959144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 9], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:06.967682"], ["updated_at", "2015-05-23 00:18:06.967682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:06.970019"], ["updated_at", "2015-05-23 00:18:06.970019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:06.972250"], ["updated_at", "2015-05-23 00:18:06.972250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 21:18:06.970665"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:06.974238"], ["updated_at", "2015-05-23 00:18:06.974238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-22 21:18:06.970665"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:06.976055"], ["updated_at", "2015-05-23 00:18:06.976055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:06.978157"], ["updated_at", "2015-05-23 00:18:06.978157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:06.980937"], ["updated_at", "2015-05-23 00:18:06.980937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:06.983047"], ["updated_at", "2015-05-23 00:18:06.983047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:06.984580"], ["updated_at", "2015-05-23 00:18:06.984580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:06.987072"], ["updated_at", "2015-05-23 00:18:06.987072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:06.988117"], ["updated_at", "2015-05-23 00:18:06.988117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:06.989802"], ["updated_at", "2015-05-23 00:18:06.989802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:06.991282"], ["updated_at", "2015-05-23 00:18:06.991282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:06.993140"], ["updated_at", "2015-05-23 00:18:06.993140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:06.995980"], ["updated_at", "2015-05-23 00:18:06.995980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 03:18:06.994177"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:06.997757"], ["updated_at", "2015-05-23 00:18:06.997757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 03:18:06.994177"], ["status", "generated"], ["created_at", "2015-05-23 00:18:06.999441"], ["updated_at", "2015-05-23 00:18:06.999441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:07.001199"], ["updated_at", "2015-05-23 00:18:07.001199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:07.003850"], ["updated_at", "2015-05-23 00:18:07.003850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:07.005504"], ["updated_at", "2015-05-23 00:18:07.005504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:07.006991"], ["updated_at", "2015-05-23 00:18:07.006991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:07.017062"], ["updated_at", "2015-05-23 00:18:07.017062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:07.019291"], ["updated_at", "2015-05-23 00:18:07.019291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:07.020922"], ["updated_at", "2015-05-23 00:18:07.020922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:07.022482"], ["updated_at", "2015-05-23 00:18:07.022482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:07.024549"], ["updated_at", "2015-05-23 00:18:07.024549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:07.026922"], ["updated_at", "2015-05-23 00:18:07.026922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:07.034184"], ["updated_at", "2015-05-23 00:18:07.034184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:07.035826"], ["updated_at", "2015-05-23 00:18:07.035826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:07.037370"], ["updated_at", "2015-05-23 00:18:07.037370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:07.039146"], ["updated_at", "2015-05-23 00:18:07.039146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:07.041098"], ["updated_at", "2015-05-23 00:18:07.041098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:07.043580"], ["updated_at", "2015-05-23 00:18:07.043580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:19.483432"], ["updated_at", "2015-05-23 00:18:19.483432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:18:19.372202"], ["created_at", "2015-05-23 00:18:19.490389"], ["updated_at", "2015-05-23 00:18:19.490389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:19.498261"], ["updated_at", "2015-05-23 00:18:19.498261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:19.500905"], ["updated_at", "2015-05-23 00:18:19.500905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:19.503076"], ["updated_at", "2015-05-23 00:18:19.503076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:19.511712"], ["updated_at", "2015-05-23 00:18:19.511712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:19.514009"], ["updated_at", "2015-05-23 00:18:19.514009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:19.516829"], ["updated_at", "2015-05-23 00:18:19.516829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:19.518916"], ["updated_at", "2015-05-23 00:18:19.518916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:19.520650"], ["updated_at", "2015-05-23 00:18:19.520650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:19.523007"], ["updated_at", "2015-05-23 00:18:19.523007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:19.524087"], ["updated_at", "2015-05-23 00:18:19.524087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:19.525976"], ["updated_at", "2015-05-23 00:18:19.525976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:19.527954"], ["updated_at", "2015-05-23 00:18:19.527954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:19.530084"], ["updated_at", "2015-05-23 00:18:19.530084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:19.532261"], ["updated_at", "2015-05-23 00:18:19.532261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 03:18:19.530771"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:19.533644"], ["updated_at", "2015-05-23 00:18:19.533644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 03:18:19.530771"], ["status", "generated"], ["created_at", "2015-05-23 00:18:19.535028"], ["updated_at", "2015-05-23 00:18:19.535028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:19.537497"], ["updated_at", "2015-05-23 00:18:19.537497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:19.539857"], ["updated_at", "2015-05-23 00:18:19.539857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:19.541592"], ["updated_at", "2015-05-23 00:18:19.541592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:19.543094"], ["updated_at", "2015-05-23 00:18:19.543094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:19.544786"], ["updated_at", "2015-05-23 00:18:19.544786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:19.546993"], ["updated_at", "2015-05-23 00:18:19.546993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 21:18:19.545449"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:19.549200"], ["updated_at", "2015-05-23 00:18:19.549200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-22 21:18:19.545449"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:19.550658"], ["updated_at", "2015-05-23 00:18:19.550658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:19.552374"], ["updated_at", "2015-05-23 00:18:19.552374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:19.554435"], ["updated_at", "2015-05-23 00:18:19.554435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:19.555980"], ["updated_at", "2015-05-23 00:18:19.555980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:19.557991"], ["updated_at", "2015-05-23 00:18:19.557991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:19.567116"], ["updated_at", "2015-05-23 00:18:19.567116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:19.569689"], ["updated_at", "2015-05-23 00:18:19.569689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:19.576421"], ["updated_at", "2015-05-23 00:18:19.576421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:19.578898"], ["updated_at", "2015-05-23 00:18:19.578898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:18:19.581537"], ["updated_at", "2015-05-23 00:18:19.581537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:18:19.582699"], ["updated_at", "2015-05-23 00:18:19.582699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:18:19.584482"], ["updated_at", "2015-05-23 00:18:19.584482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:18:19.586091"], ["updated_at", "2015-05-23 00:18:19.586091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:11.001978"], ["updated_at", "2015-05-23 00:19:11.001978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:19:10.889275"], ["created_at", "2015-05-23 00:19:11.007862"], ["updated_at", "2015-05-23 00:19:11.007862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:19:11.016338"], ["updated_at", "2015-05-23 00:19:11.016338"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:11.019027"], ["updated_at", "2015-05-23 00:19:11.019027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 21:19:11.017346"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:19:11.021123"], ["updated_at", "2015-05-23 00:19:11.021123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-22 21:19:11.017346"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:19:11.029808"], ["updated_at", "2015-05-23 00:19:11.029808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:11.032854"], ["updated_at", "2015-05-23 00:19:11.032854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:19:11.034393"], ["updated_at", "2015-05-23 00:19:11.034393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:19:11.036817"], ["updated_at", "2015-05-23 00:19:11.036817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:19:11.038457"], ["updated_at", "2015-05-23 00:19:11.038457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:19:11.041219"], ["updated_at", "2015-05-23 00:19:11.041219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:11.043179"], ["updated_at", "2015-05-23 00:19:11.043179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:19:11.044709"], ["updated_at", "2015-05-23 00:19:11.044709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:19:11.046039"], ["updated_at", "2015-05-23 00:19:11.046039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:19:11.047670"], ["updated_at", "2015-05-23 00:19:11.047670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:11.049496"], ["updated_at", "2015-05-23 00:19:11.049496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:19:11.051158"], ["updated_at", "2015-05-23 00:19:11.051158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:19:11.052858"], ["updated_at", "2015-05-23 00:19:11.052858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:19:11.061814"], ["updated_at", "2015-05-23 00:19:11.061814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:11.064141"], ["updated_at", "2015-05-23 00:19:11.064141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:19:11.066152"], ["updated_at", "2015-05-23 00:19:11.066152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:19:11.067883"], ["updated_at", "2015-05-23 00:19:11.067883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:19:11.069867"], ["updated_at", "2015-05-23 00:19:11.069867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:11.071957"], ["updated_at", "2015-05-23 00:19:11.071957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:19:11.073510"], ["updated_at", "2015-05-23 00:19:11.073510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:19:11.074972"], ["updated_at", "2015-05-23 00:19:11.074972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:19:11.076581"], ["updated_at", "2015-05-23 00:19:11.076581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:11.078356"], ["updated_at", "2015-05-23 00:19:11.078356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:19:11.080424"], ["updated_at", "2015-05-23 00:19:11.080424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:19:11.082907"], ["updated_at", "2015-05-23 00:19:11.082907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:19:11.084677"], ["updated_at", "2015-05-23 00:19:11.084677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:11.087215"], ["updated_at", "2015-05-23 00:19:11.087215"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 03:19:11.085411"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:19:11.094167"], ["updated_at", "2015-05-23 00:19:11.094167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 03:19:11.085411"], ["status", "generated"], ["created_at", "2015-05-23 00:19:11.096360"], ["updated_at", "2015-05-23 00:19:11.096360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:11.098883"], ["updated_at", "2015-05-23 00:19:11.098883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:19:11.099972"], ["updated_at", "2015-05-23 00:19:11.099972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:19:11.102195"], ["updated_at", "2015-05-23 00:19:11.102195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:19:11.103593"], ["updated_at", "2015-05-23 00:19:11.103593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:19:30.541596"], ["updated_at", "2015-05-23 00:19:30.541596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:30.553366"], ["updated_at", "2015-05-23 00:19:30.553366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:30.561727"], ["updated_at", "2015-05-23 00:19:30.561727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:19:30.442203"], ["owner_id", 1], ["created_at", "2015-05-23 00:19:30.569147"], ["updated_at", "2015-05-23 00:19:30.569147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:19:30.576896"], ["updated_at", "2015-05-23 00:19:30.576896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:30.578741"], ["updated_at", "2015-05-23 00:19:30.578741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:30.580838"], ["updated_at", "2015-05-23 00:19:30.580838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:19:30.582339"], ["updated_at", "2015-05-23 00:19:30.582339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:19:30.597124"], ["updated_at", "2015-05-23 00:19:30.597124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:19:57.722378"], ["updated_at", "2015-05-23 00:19:57.722378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:57.735468"], ["updated_at", "2015-05-23 00:19:57.735468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:57.744219"], ["updated_at", "2015-05-23 00:19:57.744219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:19:57.625197"], ["owner_id", 1], ["created_at", "2015-05-23 00:19:57.749365"], ["updated_at", "2015-05-23 00:19:57.749365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:19:57.758059"], ["updated_at", "2015-05-23 00:19:57.758059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:57.760118"], ["updated_at", "2015-05-23 00:19:57.760118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:19:57.762093"], ["updated_at", "2015-05-23 00:19:57.762093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:19:57.763457"], ["updated_at", "2015-05-23 00:19:57.763457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:19:57.775434"], ["updated_at", "2015-05-23 00:19:57.775434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:20:26.420643"], ["updated_at", "2015-05-23 00:20:26.420643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:20:26.433959"], ["updated_at", "2015-05-23 00:20:26.433959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:20:26.442668"], ["updated_at", "2015-05-23 00:20:26.442668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:20:26.321030"], ["owner_id", 1], ["created_at", "2015-05-23 00:20:26.448217"], ["updated_at", "2015-05-23 00:20:26.448217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:20:26.456666"], ["updated_at", "2015-05-23 00:20:26.456666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:20:26.458584"], ["updated_at", "2015-05-23 00:20:26.458584"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:20:26.460471"], ["updated_at", "2015-05-23 00:20:26.460471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:20:26.461891"], ["updated_at", "2015-05-23 00:20:26.461891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:20:26.473192"], ["updated_at", "2015-05-23 00:20:26.473192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:20:37.040117"], ["updated_at", "2015-05-23 00:20:37.040117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:20:37.053034"], ["updated_at", "2015-05-23 00:20:37.053034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:20:37.062654"], ["updated_at", "2015-05-23 00:20:37.062654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:20:37.068702"], ["updated_at", "2015-05-23 00:20:37.068702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:20:37.085582"], ["updated_at", "2015-05-23 00:20:37.085582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:20:37.089690"], ["updated_at", "2015-05-23 00:20:37.089690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:20:37.091366"], ["updated_at", "2015-05-23 00:20:37.091366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:20:37.094891"], ["updated_at", "2015-05-23 00:20:37.094891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:20:36.935994"], ["owner_id", 1], ["created_at", "2015-05-23 00:20:37.097228"], ["updated_at", "2015-05-23 00:20:37.097228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:20:44.997372"], ["updated_at", "2015-05-23 00:20:44.997372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:20:45.011272"], ["updated_at", "2015-05-23 00:20:45.011272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:20:45.020664"], ["updated_at", "2015-05-23 00:20:45.020664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:20:44.898260"], ["owner_id", 1], ["created_at", "2015-05-23 00:20:45.026204"], ["updated_at", "2015-05-23 00:20:45.026204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:20:45.033292"], ["updated_at", "2015-05-23 00:20:45.033292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:20:45.034958"], ["updated_at", "2015-05-23 00:20:45.034958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:20:45.036756"], ["updated_at", "2015-05-23 00:20:45.036756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:20:45.038275"], ["updated_at", "2015-05-23 00:20:45.038275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:20:45.051665"], ["updated_at", "2015-05-23 00:20:45.051665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:21:32.279932"], ["updated_at", "2015-05-23 00:21:32.279932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:21:32.293232"], ["updated_at", "2015-05-23 00:21:32.293232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:21:32.302978"], ["updated_at", "2015-05-23 00:21:32.302978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:21:32.177983"], ["owner_id", 1], ["created_at", "2015-05-23 00:21:32.308854"], ["updated_at", "2015-05-23 00:21:32.308854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:21:32.318130"], ["updated_at", "2015-05-23 00:21:32.318130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:21:32.319887"], ["updated_at", "2015-05-23 00:21:32.319887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:21:32.321679"], ["updated_at", "2015-05-23 00:21:32.321679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:21:32.323078"], ["updated_at", "2015-05-23 00:21:32.323078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:21:32.336258"], ["updated_at", "2015-05-23 00:21:32.336258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:22:11.771543"], ["updated_at", "2015-05-23 00:22:11.771543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:22:11.783321"], ["updated_at", "2015-05-23 00:22:11.783321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:22:11.792916"], ["updated_at", "2015-05-23 00:22:11.792916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:22:11.671812"], ["owner_id", 1], ["created_at", "2015-05-23 00:22:11.799225"], ["updated_at", "2015-05-23 00:22:11.799225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:22:11.806763"], ["updated_at", "2015-05-23 00:22:11.806763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:22:11.808769"], ["updated_at", "2015-05-23 00:22:11.808769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:22:11.810682"], ["updated_at", "2015-05-23 00:22:11.810682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:22:11.812101"], ["updated_at", "2015-05-23 00:22:11.812101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:22:11.825346"], ["updated_at", "2015-05-23 00:22:11.825346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:22:39.345197"], ["updated_at", "2015-05-23 00:22:39.345197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:22:39.358207"], ["updated_at", "2015-05-23 00:22:39.358207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:22:39.369976"], ["updated_at", "2015-05-23 00:22:39.369976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:22:39.385890"], ["updated_at", "2015-05-23 00:22:39.385890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:22:39.391003"], ["updated_at", "2015-05-23 00:22:39.391003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:22:39.393311"], ["updated_at", "2015-05-23 00:22:39.393311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:22:39.395977"], ["updated_at", "2015-05-23 00:22:39.395977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:22:39.245715"], ["owner_id", 1], ["created_at", "2015-05-23 00:22:39.397562"], ["updated_at", "2015-05-23 00:22:39.397562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:23:40.322013"], ["updated_at", "2015-05-23 00:23:40.322013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:23:40.340758"], ["updated_at", "2015-05-23 00:23:40.340758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:23:40.348527"], ["updated_at", "2015-05-23 00:23:40.348527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:23:40.364685"], ["updated_at", "2015-05-23 00:23:40.364685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:23:40.367381"], ["updated_at", "2015-05-23 00:23:40.367381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:23:40.369085"], ["updated_at", "2015-05-23 00:23:40.369085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:23:40.370959"], ["updated_at", "2015-05-23 00:23:40.370959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:23:40.374079"], ["updated_at", "2015-05-23 00:23:40.374079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:23:40.379493"], ["updated_at", "2015-05-23 00:23:40.379493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:23:40.381351"], ["updated_at", "2015-05-23 00:23:40.381351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:23:40.383113"], ["updated_at", "2015-05-23 00:23:40.383113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:23:40.223202"], ["owner_id", 1], ["created_at", "2015-05-23 00:23:40.384638"], ["updated_at", "2015-05-23 00:23:40.384638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:29:52.149005"], ["updated_at", "2015-05-23 00:29:52.149005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:29:52.162209"], ["updated_at", "2015-05-23 00:29:52.162209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:29:52.171100"], ["updated_at", "2015-05-23 00:29:52.171100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:29:52.046130"], ["owner_id", 1], ["created_at", "2015-05-23 00:29:52.176439"], ["updated_at", "2015-05-23 00:29:52.176439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:29:52.183722"], ["updated_at", "2015-05-23 00:29:52.183722"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:29:52.186392"], ["updated_at", "2015-05-23 00:29:52.186392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:29:52.188693"], ["updated_at", "2015-05-23 00:29:52.188693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:29:52.202514"], ["updated_at", "2015-05-23 00:29:52.202514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:29:52.205041"], ["updated_at", "2015-05-23 00:29:52.205041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:29:52.207214"], ["updated_at", "2015-05-23 00:29:52.207214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:29:52.208729"], ["updated_at", "2015-05-23 00:29:52.208729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:29:52.211931"], ["updated_at", "2015-05-23 00:29:52.211931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:30:26.753215"], ["updated_at", "2015-05-23 00:30:26.753215"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:30:26.772555"], ["updated_at", "2015-05-23 00:30:26.772555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:30:26.778275"], ["updated_at", "2015-05-23 00:30:26.778275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:30:26.794860"], ["updated_at", "2015-05-23 00:30:26.794860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:30:26.798114"], ["updated_at", "2015-05-23 00:30:26.798114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:30:26.800744"], ["updated_at", "2015-05-23 00:30:26.800744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:30:26.802849"], ["updated_at", "2015-05-23 00:30:26.802849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:30:26.805913"], ["updated_at", "2015-05-23 00:30:26.805913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:30:26.808178"], ["updated_at", "2015-05-23 00:30:26.808178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:30:26.809743"], ["updated_at", "2015-05-23 00:30:26.809743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:30:26.811567"], ["updated_at", "2015-05-23 00:30:26.811567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:30:26.651832"], ["owner_id", 1], ["created_at", "2015-05-23 00:30:26.813461"], ["updated_at", "2015-05-23 00:30:26.813461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:30:38.546818"], ["updated_at", "2015-05-23 00:30:38.546818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:30:38.559443"], ["updated_at", "2015-05-23 00:30:38.559443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:30:38.573708"], ["updated_at", "2015-05-23 00:30:38.573708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:30:38.590790"], ["updated_at", "2015-05-23 00:30:38.590790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:30:38.592826"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:30:38.600378"], ["updated_at", "2015-05-23 00:30:38.600378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:30:38.603388"], ["updated_at", "2015-05-23 00:30:38.603388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:30:38.605421"], ["updated_at", "2015-05-23 00:30:38.605421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:30:38.608579"], ["updated_at", "2015-05-23 00:30:38.608579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:30:38.609968"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:30:38.614618"], ["updated_at", "2015-05-23 00:30:38.614618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:30:38.616749"], ["updated_at", "2015-05-23 00:30:38.616749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:30:38.618873"], ["updated_at", "2015-05-23 00:30:38.618873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:30:38.439889"], ["owner_id", 1], ["created_at", "2015-05-23 00:30:38.620627"], ["updated_at", "2015-05-23 00:30:38.620627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:31:53.263309"], ["updated_at", "2015-05-23 00:31:53.263309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:31:53.276012"], ["updated_at", "2015-05-23 00:31:53.276012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:31:53.288040"], ["updated_at", "2015-05-23 00:31:53.288040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:31:53.306025"], ["updated_at", "2015-05-23 00:31:53.306025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:31:53.308299"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:31:53.313939"], ["updated_at", "2015-05-23 00:31:53.313939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:31:53.316210"], ["updated_at", "2015-05-23 00:31:53.316210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:31:53.317705"], ["updated_at", "2015-05-23 00:31:53.317705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:31:53.320363"], ["updated_at", "2015-05-23 00:31:53.320363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:31:53.321559"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:31:53.324951"], ["updated_at", "2015-05-23 00:31:53.324951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:31:53.327254"], ["updated_at", "2015-05-23 00:31:53.327254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:31:53.328967"], ["updated_at", "2015-05-23 00:31:53.328967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:31:53.331843"], ["updated_at", "2015-05-23 00:31:53.331843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:31:53.333920"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:31:53.335709"], ["updated_at", "2015-05-23 00:31:53.335709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:31:53.337606"], ["updated_at", "2015-05-23 00:31:53.337606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:31:53.339494"], ["updated_at", "2015-05-23 00:31:53.339494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:31:53.164161"], ["owner_id", 1], ["created_at", "2015-05-23 00:31:53.341764"], ["updated_at", "2015-05-23 00:31:53.341764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:32:35.787701"], ["updated_at", "2015-05-23 00:32:35.787701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:32:35.805994"], ["updated_at", "2015-05-23 00:32:35.805994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:32:35.812696"], ["updated_at", "2015-05-23 00:32:35.812696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:32:35.828969"], ["updated_at", "2015-05-23 00:32:35.828969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:32:35.830839"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:32:35.835305"], ["updated_at", "2015-05-23 00:32:35.835305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:32:35.837120"], ["updated_at", "2015-05-23 00:32:35.837120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:32:35.839045"], ["updated_at", "2015-05-23 00:32:35.839045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:32:35.841811"], ["updated_at", "2015-05-23 00:32:35.841811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:32:35.842971"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:32:35.847012"], ["updated_at", "2015-05-23 00:32:35.847012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:32:35.849123"], ["updated_at", "2015-05-23 00:32:35.849123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:32:35.852187"], ["updated_at", "2015-05-23 00:32:35.852187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:32:35.855998"], ["updated_at", "2015-05-23 00:32:35.855998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:32:35.857464"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:32:35.859650"], ["updated_at", "2015-05-23 00:32:35.859650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:32:35.861908"], ["updated_at", "2015-05-23 00:32:35.861908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:32:35.863771"], ["updated_at", "2015-05-23 00:32:35.863771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:32:35.683530"], ["owner_id", 1], ["created_at", "2015-05-23 00:32:35.865183"], ["updated_at", "2015-05-23 00:32:35.865183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:33:02.156426"], ["updated_at", "2015-05-23 00:33:02.156426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:33:02.174944"], ["updated_at", "2015-05-23 00:33:02.174944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:33:02.182294"], ["updated_at", "2015-05-23 00:33:02.182294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:33:02.199574"], ["updated_at", "2015-05-23 00:33:02.199574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:33:02.201716"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:33:02.205910"], ["updated_at", "2015-05-23 00:33:02.205910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:33:02.208554"], ["updated_at", "2015-05-23 00:33:02.208554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:33:02.210819"], ["updated_at", "2015-05-23 00:33:02.210819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:33:02.213789"], ["updated_at", "2015-05-23 00:33:02.213789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:33:02.215008"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:33:02.217538"], ["updated_at", "2015-05-23 00:33:02.217538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:33:02.219393"], ["updated_at", "2015-05-23 00:33:02.219393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:33:02.221330"], ["updated_at", "2015-05-23 00:33:02.221330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:33:02.223959"], ["updated_at", "2015-05-23 00:33:02.223959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:33:02.225168"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:33:02.229448"], ["updated_at", "2015-05-23 00:33:02.229448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:33:02.231853"], ["updated_at", "2015-05-23 00:33:02.231853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:33:02.233672"], ["updated_at", "2015-05-23 00:33:02.233672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:33:02.053675"], ["owner_id", 1], ["created_at", "2015-05-23 00:33:02.235218"], ["updated_at", "2015-05-23 00:33:02.235218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:33:46.902837"], ["updated_at", "2015-05-23 00:33:46.902837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:33:46.921122"], ["updated_at", "2015-05-23 00:33:46.921122"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:33:46.928791"], ["updated_at", "2015-05-23 00:33:46.928791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:33:46.944688"], ["updated_at", "2015-05-23 00:33:46.944688"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:33:46.946382"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:33:46.950624"], ["updated_at", "2015-05-23 00:33:46.950624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:33:46.952400"], ["updated_at", "2015-05-23 00:33:46.952400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:33:46.955398"], ["updated_at", "2015-05-23 00:33:46.955398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:33:46.958779"], ["updated_at", "2015-05-23 00:33:46.958779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:33:46.960125"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:33:46.964024"], ["updated_at", "2015-05-23 00:33:46.964024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:33:46.966075"], ["updated_at", "2015-05-23 00:33:46.966075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:33:46.967651"], ["updated_at", "2015-05-23 00:33:46.967651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:33:46.971220"], ["updated_at", "2015-05-23 00:33:46.971220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:33:46.972824"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:33:46.975145"], ["updated_at", "2015-05-23 00:33:46.975145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:33:46.976924"], ["updated_at", "2015-05-23 00:33:46.976924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:33:46.978810"], ["updated_at", "2015-05-23 00:33:46.978810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:33:46.796703"], ["owner_id", 1], ["created_at", "2015-05-23 00:33:46.980341"], ["updated_at", "2015-05-23 00:33:46.980341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:34:10.088079"], ["updated_at", "2015-05-23 00:34:10.088079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:34:10.100567"], ["updated_at", "2015-05-23 00:34:10.100567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:34:10.109840"], ["updated_at", "2015-05-23 00:34:10.109840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:34:09.988461"], ["owner_id", 1], ["created_at", "2015-05-23 00:34:10.115644"], ["updated_at", "2015-05-23 00:34:10.115644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:34:10.123164"], ["updated_at", "2015-05-23 00:34:10.123164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:34:10.125291"], ["updated_at", "2015-05-23 00:34:10.125291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:34:10.126840"], ["updated_at", "2015-05-23 00:34:10.126840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:34:10.140301"], ["updated_at", "2015-05-23 00:34:10.140301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:34:10.142179"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:34:10.146453"], ["updated_at", "2015-05-23 00:34:10.146453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:34:10.148670"], ["updated_at", "2015-05-23 00:34:10.148670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:34:10.150935"], ["updated_at", "2015-05-23 00:34:10.150935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:34:10.154397"], ["updated_at", "2015-05-23 00:34:10.154397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:34:10.155594"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:34:10.159058"], ["updated_at", "2015-05-23 00:34:10.159058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:34:10.161105"], ["updated_at", "2015-05-23 00:34:10.161105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:34:10.162922"], ["updated_at", "2015-05-23 00:34:10.162922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:34:10.166828"], ["updated_at", "2015-05-23 00:34:10.166828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:34:10.168357"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:34:50.240985"], ["updated_at", "2015-05-23 00:34:50.240985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:34:50.260767"], ["updated_at", "2015-05-23 00:34:50.260767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:34:50.266714"], ["updated_at", "2015-05-23 00:34:50.266714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:34:50.284031"], ["updated_at", "2015-05-23 00:34:50.284031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:34:50.285890"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:34:50.290350"], ["updated_at", "2015-05-23 00:34:50.290350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:34:50.292535"], ["updated_at", "2015-05-23 00:34:50.292535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:34:50.294199"], ["updated_at", "2015-05-23 00:34:50.294199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:34:50.297619"], ["updated_at", "2015-05-23 00:34:50.297619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:34:50.298932"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:34:50.302037"], ["updated_at", "2015-05-23 00:34:50.302037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:34:50.303892"], ["updated_at", "2015-05-23 00:34:50.303892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:34:50.305892"], ["updated_at", "2015-05-23 00:34:50.305892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:34:50.308581"], ["updated_at", "2015-05-23 00:34:50.308581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:34:50.309755"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:34:50.313150"], ["updated_at", "2015-05-23 00:34:50.313150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:34:50.314723"], ["updated_at", "2015-05-23 00:34:50.314723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:34:50.317238"], ["updated_at", "2015-05-23 00:34:50.317238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:34:50.139799"], ["owner_id", 1], ["created_at", "2015-05-23 00:34:50.319114"], ["updated_at", "2015-05-23 00:34:50.319114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:00.975728"], ["updated_at", "2015-05-23 00:35:00.975728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:00.995152"], ["updated_at", "2015-05-23 00:35:00.995152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:35:01.001741"], ["updated_at", "2015-05-23 00:35:01.001741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:35:01.017639"], ["updated_at", "2015-05-23 00:35:01.017639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:35:01.019249"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:01.025533"], ["updated_at", "2015-05-23 00:35:01.025533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:01.027576"], ["updated_at", "2015-05-23 00:35:01.027576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:35:01.029604"], ["updated_at", "2015-05-23 00:35:01.029604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:35:01.032353"], ["updated_at", "2015-05-23 00:35:01.032353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:35:01.033558"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:01.037786"], ["updated_at", "2015-05-23 00:35:01.037786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:01.040019"], ["updated_at", "2015-05-23 00:35:01.040019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:35:01.041532"], ["updated_at", "2015-05-23 00:35:01.041532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:35:01.044258"], ["updated_at", "2015-05-23 00:35:01.044258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:35:01.045447"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:01.047374"], ["updated_at", "2015-05-23 00:35:01.047374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:01.048896"], ["updated_at", "2015-05-23 00:35:01.048896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:01.050686"], ["updated_at", "2015-05-23 00:35:01.050686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:35:00.875108"], ["owner_id", 1], ["created_at", "2015-05-23 00:35:01.052712"], ["updated_at", "2015-05-23 00:35:01.052712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:22.061679"], ["updated_at", "2015-05-23 00:35:22.061679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:22.080228"], ["updated_at", "2015-05-23 00:35:22.080228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:35:22.087303"], ["updated_at", "2015-05-23 00:35:22.087303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:35:22.104976"], ["updated_at", "2015-05-23 00:35:22.104976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:35:22.106900"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:22.111756"], ["updated_at", "2015-05-23 00:35:22.111756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:22.115209"], ["updated_at", "2015-05-23 00:35:22.115209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:35:22.117575"], ["updated_at", "2015-05-23 00:35:22.117575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:35:22.120404"], ["updated_at", "2015-05-23 00:35:22.120404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:35:22.121656"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:22.125989"], ["updated_at", "2015-05-23 00:35:22.125989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:22.128357"], ["updated_at", "2015-05-23 00:35:22.128357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:35:22.130343"], ["updated_at", "2015-05-23 00:35:22.130343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:35:22.133663"], ["updated_at", "2015-05-23 00:35:22.133663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:35:22.134974"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:22.136964"], ["updated_at", "2015-05-23 00:35:22.136964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:22.138991"], ["updated_at", "2015-05-23 00:35:22.138991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:22.141234"], ["updated_at", "2015-05-23 00:35:22.141234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:35:21.961214"], ["owner_id", 1], ["created_at", "2015-05-23 00:35:22.142726"], ["updated_at", "2015-05-23 00:35:22.142726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:40.309919"], ["updated_at", "2015-05-23 00:35:40.309919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:40.322775"], ["updated_at", "2015-05-23 00:35:40.322775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:40.331720"], ["updated_at", "2015-05-23 00:35:40.331720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:35:40.210183"], ["owner_id", 1], ["created_at", "2015-05-23 00:35:40.337652"], ["updated_at", "2015-05-23 00:35:40.337652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:40.345388"], ["updated_at", "2015-05-23 00:35:40.345388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:40.347600"], ["updated_at", "2015-05-23 00:35:40.347600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:35:40.349252"], ["updated_at", "2015-05-23 00:35:40.349252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:35:40.361929"], ["updated_at", "2015-05-23 00:35:40.361929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:35:40.364258"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:40.368756"], ["updated_at", "2015-05-23 00:35:40.368756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:40.370706"], ["updated_at", "2015-05-23 00:35:40.370706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:35:40.372836"], ["updated_at", "2015-05-23 00:35:40.372836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:35:40.376076"], ["updated_at", "2015-05-23 00:35:40.376076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:35:40.377396"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:40.381563"], ["updated_at", "2015-05-23 00:35:40.381563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:40.384161"], ["updated_at", "2015-05-23 00:35:40.384161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:35:40.385968"], ["updated_at", "2015-05-23 00:35:40.385968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:35:40.389029"], ["updated_at", "2015-05-23 00:35:40.389029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:35:40.390328"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:56.586054"], ["updated_at", "2015-05-23 00:35:56.586054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:56.598567"], ["updated_at", "2015-05-23 00:35:56.598567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:35:56.611880"], ["updated_at", "2015-05-23 00:35:56.611880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:35:56.629753"], ["updated_at", "2015-05-23 00:35:56.629753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:35:56.631463"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:56.637023"], ["updated_at", "2015-05-23 00:35:56.637023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:56.639076"], ["updated_at", "2015-05-23 00:35:56.639076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:35:56.640576"], ["updated_at", "2015-05-23 00:35:56.640576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:35:56.643490"], ["updated_at", "2015-05-23 00:35:56.643490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:35:56.646530"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:56.650012"], ["updated_at", "2015-05-23 00:35:56.650012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:56.652632"], ["updated_at", "2015-05-23 00:35:56.652632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:35:56.654157"], ["updated_at", "2015-05-23 00:35:56.654157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:35:56.656819"], ["updated_at", "2015-05-23 00:35:56.656819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:35:56.657994"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:35:56.660249"], ["updated_at", "2015-05-23 00:35:56.660249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:56.661728"], ["updated_at", "2015-05-23 00:35:56.661728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:35:56.663899"], ["updated_at", "2015-05-23 00:35:56.663899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:35:56.485627"], ["owner_id", 1], ["created_at", "2015-05-23 00:35:56.665796"], ["updated_at", "2015-05-23 00:35:56.665796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:36:12.011874"], ["updated_at", "2015-05-23 00:36:12.011874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:12.030119"], ["updated_at", "2015-05-23 00:36:12.030119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:36:12.037440"], ["updated_at", "2015-05-23 00:36:12.037440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:36:12.053087"], ["updated_at", "2015-05-23 00:36:12.053087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:36:12.054700"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:36:12.058900"], ["updated_at", "2015-05-23 00:36:12.058900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:12.061847"], ["updated_at", "2015-05-23 00:36:12.061847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:36:12.063639"], ["updated_at", "2015-05-23 00:36:12.063639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:36:12.066653"], ["updated_at", "2015-05-23 00:36:12.066653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:36:12.067893"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:36:12.071643"], ["updated_at", "2015-05-23 00:36:12.071643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:12.073433"], ["updated_at", "2015-05-23 00:36:12.073433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:36:12.075225"], ["updated_at", "2015-05-23 00:36:12.075225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:36:12.078163"], ["updated_at", "2015-05-23 00:36:12.078163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:36:12.079348"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:36:12.082126"], ["updated_at", "2015-05-23 00:36:12.082126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:12.083704"], ["updated_at", "2015-05-23 00:36:12.083704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:12.086028"], ["updated_at", "2015-05-23 00:36:12.086028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:36:11.911677"], ["owner_id", 1], ["created_at", "2015-05-23 00:36:12.087815"], ["updated_at", "2015-05-23 00:36:12.087815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:36:20.860368"], ["updated_at", "2015-05-23 00:36:20.860368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:20.879634"], ["updated_at", "2015-05-23 00:36:20.879634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:36:20.885010"], ["updated_at", "2015-05-23 00:36:20.885010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:36:20.902019"], ["updated_at", "2015-05-23 00:36:20.902019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:36:20.903816"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:36:20.910430"], ["updated_at", "2015-05-23 00:36:20.910430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:20.912645"], ["updated_at", "2015-05-23 00:36:20.912645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:36:20.914146"], ["updated_at", "2015-05-23 00:36:20.914146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:36:20.916999"], ["updated_at", "2015-05-23 00:36:20.916999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:36:20.918164"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:36:20.920609"], ["updated_at", "2015-05-23 00:36:20.920609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:20.922296"], ["updated_at", "2015-05-23 00:36:20.922296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:36:20.924140"], ["updated_at", "2015-05-23 00:36:20.924140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:36:20.927483"], ["updated_at", "2015-05-23 00:36:20.927483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:36:20.929071"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:36:20.932789"], ["updated_at", "2015-05-23 00:36:20.932789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:20.934377"], ["updated_at", "2015-05-23 00:36:20.934377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:20.936383"], ["updated_at", "2015-05-23 00:36:20.936383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:36:20.756488"], ["owner_id", 1], ["created_at", "2015-05-23 00:36:20.938677"], ["updated_at", "2015-05-23 00:36:20.938677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:36:36.044650"], ["updated_at", "2015-05-23 00:36:36.044650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:36.057257"], ["updated_at", "2015-05-23 00:36:36.057257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:36.065988"], ["updated_at", "2015-05-23 00:36:36.065988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:36:35.946303"], ["owner_id", 1], ["created_at", "2015-05-23 00:36:36.071318"], ["updated_at", "2015-05-23 00:36:36.071318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:36:36.079013"], ["updated_at", "2015-05-23 00:36:36.079013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:36.080957"], ["updated_at", "2015-05-23 00:36:36.080957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:36:36.083705"], ["updated_at", "2015-05-23 00:36:36.083705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:36:36.096970"], ["updated_at", "2015-05-23 00:36:36.096970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:36:36.098799"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:36:36.104770"], ["updated_at", "2015-05-23 00:36:36.104770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:36.107129"], ["updated_at", "2015-05-23 00:36:36.107129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:36:36.108899"], ["updated_at", "2015-05-23 00:36:36.108899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:36:36.111864"], ["updated_at", "2015-05-23 00:36:36.111864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:36:36.113080"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:36:36.114671"], ["updated_at", "2015-05-23 00:36:36.114671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:36:36.116477"], ["updated_at", "2015-05-23 00:36:36.116477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:36:36.117970"], ["updated_at", "2015-05-23 00:36:36.117970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:36:36.120531"], ["updated_at", "2015-05-23 00:36:36.120531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:36:36.121812"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:38:12.768870"], ["updated_at", "2015-05-23 00:38:12.768870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:38:12.788236"], ["updated_at", "2015-05-23 00:38:12.788236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:38:12.794242"], ["updated_at", "2015-05-23 00:38:12.794242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:38:12.810306"], ["updated_at", "2015-05-23 00:38:12.810306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:38:12.811999"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:38:12.816230"], ["updated_at", "2015-05-23 00:38:12.816230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:38:12.818391"], ["updated_at", "2015-05-23 00:38:12.818391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-23 00:38:12.819850"], ["updated_at", "2015-05-23 00:38:12.819850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:38:12.822491"], ["updated_at", "2015-05-23 00:38:12.822491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:38:12.825350"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:38:12.828301"], ["updated_at", "2015-05-23 00:38:12.828301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:38:12.830294"], ["updated_at", "2015-05-23 00:38:12.830294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:38:12.832437"], ["updated_at", "2015-05-23 00:38:12.832437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:38:12.835102"], ["updated_at", "2015-05-23 00:38:12.835102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:38:12.836309"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:38:12.839715"], ["updated_at", "2015-05-23 00:38:12.839715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:38:12.842061"], ["updated_at", "2015-05-23 00:38:12.842061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:38:12.844330"], ["updated_at", "2015-05-23 00:38:12.844330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:38:12.847484"], ["updated_at", "2015-05-23 00:38:12.847484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:38:12.848694"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:38:12.850353"], ["updated_at", "2015-05-23 00:38:12.850353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:38:12.851923"], ["updated_at", "2015-05-23 00:38:12.851923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:38:12.853881"], ["updated_at", "2015-05-23 00:38:12.853881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:38:12.668081"], ["owner_id", 1], ["created_at", "2015-05-23 00:38:12.855965"], ["updated_at", "2015-05-23 00:38:12.855965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:40:03.536925"], ["updated_at", "2015-05-23 00:40:03.536925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:40:03.549427"], ["updated_at", "2015-05-23 00:40:03.549427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:40:03.558128"], ["updated_at", "2015-05-23 00:40:03.558128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:40:03.436732"], ["owner_id", 1], ["created_at", "2015-05-23 00:40:03.564529"], ["updated_at", "2015-05-23 00:40:03.564529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:40:03.571984"], ["updated_at", "2015-05-23 00:40:03.571984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:40:03.574265"], ["updated_at", "2015-05-23 00:40:03.574265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:40:03.576176"], ["updated_at", "2015-05-23 00:40:03.576176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:40:03.587727"], ["updated_at", "2015-05-23 00:40:03.587727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:40:03.589346"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:40:03.594583"], ["updated_at", "2015-05-23 00:40:03.594583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:40:03.598047"], ["updated_at", "2015-05-23 00:40:03.598047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-23 00:40:03.599965"], ["updated_at", "2015-05-23 00:40:03.599965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:40:03.603171"], ["updated_at", "2015-05-23 00:40:03.603171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:40:03.604493"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:40:03.606087"], ["updated_at", "2015-05-23 00:40:03.606087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:40:03.608307"], ["updated_at", "2015-05-23 00:40:03.608307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:40:03.610656"], ["updated_at", "2015-05-23 00:40:03.610656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:40:03.614171"], ["updated_at", "2015-05-23 00:40:03.614171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:40:03.615492"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:40:03.619015"], ["updated_at", "2015-05-23 00:40:03.619015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:40:03.621277"], ["updated_at", "2015-05-23 00:40:03.621277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:40:03.622783"], ["updated_at", "2015-05-23 00:40:03.622783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:40:03.627250"], ["updated_at", "2015-05-23 00:40:03.627250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 00:40:03.628825"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:40:03.630486"], ["updated_at", "2015-05-23 00:40:03.630486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:40:03.632574"], ["updated_at", "2015-05-23 00:40:03.632574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:40:03.639129"], ["updated_at", "2015-05-23 00:40:03.639129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:40:03.642828"], ["updated_at", "2015-05-23 00:40:03.642828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:40:03.644460"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:42.372895"], ["updated_at", "2015-05-23 00:41:42.372895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:42.392952"], ["updated_at", "2015-05-23 00:41:42.392952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-23 00:41:42.400140"], ["updated_at", "2015-05-23 00:41:42.400140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:41:42.415782"], ["updated_at", "2015-05-23 00:41:42.415782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:41:42.417383"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:42.421256"], ["updated_at", "2015-05-23 00:41:42.421256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:42.424080"], ["updated_at", "2015-05-23 00:41:42.424080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:41:42.425914"], ["updated_at", "2015-05-23 00:41:42.425914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:41:42.429206"], ["updated_at", "2015-05-23 00:41:42.429206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:41:42.430471"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:42.432509"], ["updated_at", "2015-05-23 00:41:42.432509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:42.434114"], ["updated_at", "2015-05-23 00:41:42.434114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:41:42.435983"], ["updated_at", "2015-05-23 00:41:42.435983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:41:42.438533"], ["updated_at", "2015-05-23 00:41:42.438533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 00:41:42.439924"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:42.441891"], ["updated_at", "2015-05-23 00:41:42.441891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:42.443696"], ["updated_at", "2015-05-23 00:41:42.443696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:41:42.445160"], ["updated_at", "2015-05-23 00:41:42.445160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:41:42.448296"], ["updated_at", "2015-05-23 00:41:42.448296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:41:42.449730"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:42.452496"], ["updated_at", "2015-05-23 00:41:42.452496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:42.454579"], ["updated_at", "2015-05-23 00:41:42.454579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:41:42.456140"], ["updated_at", "2015-05-23 00:41:42.456140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:41:42.458711"], ["updated_at", "2015-05-23 00:41:42.458711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 00:41:42.459908"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:42.461432"], ["updated_at", "2015-05-23 00:41:42.461432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:42.463497"], ["updated_at", "2015-05-23 00:41:42.463497"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:41:42.471668"], ["updated_at", "2015-05-23 00:41:42.471668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:41:42.474565"], ["updated_at", "2015-05-23 00:41:42.474565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:41:42.475753"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:42.479775"], ["updated_at", "2015-05-23 00:41:42.479775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:42.481824"], ["updated_at", "2015-05-23 00:41:42.481824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:42.483831"], ["updated_at", "2015-05-23 00:41:42.483831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:41:42.273548"], ["owner_id", 1], ["created_at", "2015-05-23 00:41:42.485601"], ["updated_at", "2015-05-23 00:41:42.485601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:53.986033"], ["updated_at", "2015-05-23 00:41:53.986033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:53.999428"], ["updated_at", "2015-05-23 00:41:53.999428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:54.010476"], ["updated_at", "2015-05-23 00:41:54.010476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:41:53.881928"], ["owner_id", 1], ["created_at", "2015-05-23 00:41:54.016078"], ["updated_at", "2015-05-23 00:41:54.016078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:54.022840"], ["updated_at", "2015-05-23 00:41:54.022840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:54.025133"], ["updated_at", "2015-05-23 00:41:54.025133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:41:54.026672"], ["updated_at", "2015-05-23 00:41:54.026672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:41:54.038064"], ["updated_at", "2015-05-23 00:41:54.038064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:41:54.039870"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:54.043798"], ["updated_at", "2015-05-23 00:41:54.043798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:54.046209"], ["updated_at", "2015-05-23 00:41:54.046209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:41:54.048321"], ["updated_at", "2015-05-23 00:41:54.048321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:41:54.051642"], ["updated_at", "2015-05-23 00:41:54.051642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:41:54.053088"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:54.056920"], ["updated_at", "2015-05-23 00:41:54.056920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:54.058695"], ["updated_at", "2015-05-23 00:41:54.058695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:41:54.060569"], ["updated_at", "2015-05-23 00:41:54.060569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:41:54.063660"], ["updated_at", "2015-05-23 00:41:54.063660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 00:41:54.064943"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:54.066966"], ["updated_at", "2015-05-23 00:41:54.066966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:54.069071"], ["updated_at", "2015-05-23 00:41:54.069071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:41:54.070438"], ["updated_at", "2015-05-23 00:41:54.070438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:41:54.073162"], ["updated_at", "2015-05-23 00:41:54.073162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 00:41:54.074457"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:54.076696"], ["updated_at", "2015-05-23 00:41:54.076696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:54.078895"], ["updated_at", "2015-05-23 00:41:54.078895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:41:54.080553"], ["updated_at", "2015-05-23 00:41:54.080553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:41:54.088741"], ["updated_at", "2015-05-23 00:41:54.088741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:41:54.090034"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:41:54.092978"], ["updated_at", "2015-05-23 00:41:54.092978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:41:54.095731"], ["updated_at", "2015-05-23 00:41:54.095731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-23 00:41:54.097610"], ["updated_at", "2015-05-23 00:41:54.097610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:41:54.101062"], ["updated_at", "2015-05-23 00:41:54.101062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:41:54.102419"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:40.234277"], ["updated_at", "2015-05-23 00:42:40.234277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:40.252679"], ["updated_at", "2015-05-23 00:42:40.252679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:40.259477"], ["updated_at", "2015-05-23 00:42:40.259477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:40.275442"], ["updated_at", "2015-05-23 00:42:40.275442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:42:40.277198"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:40.281001"], ["updated_at", "2015-05-23 00:42:40.281001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:40.283028"], ["updated_at", "2015-05-23 00:42:40.283028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:40.284880"], ["updated_at", "2015-05-23 00:42:40.284880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:40.288415"], ["updated_at", "2015-05-23 00:42:40.288415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:42:40.289751"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:40.292967"], ["updated_at", "2015-05-23 00:42:40.292967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:40.295492"], ["updated_at", "2015-05-23 00:42:40.295492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-23 00:42:40.297425"], ["updated_at", "2015-05-23 00:42:40.297425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:40.300661"], ["updated_at", "2015-05-23 00:42:40.300661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:42:40.302043"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:40.303650"], ["updated_at", "2015-05-23 00:42:40.303650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:40.305694"], ["updated_at", "2015-05-23 00:42:40.305694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:40.307541"], ["updated_at", "2015-05-23 00:42:40.307541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:40.310781"], ["updated_at", "2015-05-23 00:42:40.310781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 00:42:40.312045"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:40.313578"], ["updated_at", "2015-05-23 00:42:40.313578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:40.315726"], ["updated_at", "2015-05-23 00:42:40.315726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:40.318465"], ["updated_at", "2015-05-23 00:42:40.318465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:40.321208"], ["updated_at", "2015-05-23 00:42:40.321208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 02:00:00.000000"], ["current_period_end", "2016-05-23 02:00:00.000000"], ["updated_at", "2015-05-23 00:42:40.322461"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:40.324104"], ["updated_at", "2015-05-23 00:42:40.324104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:40.326299"], ["updated_at", "2015-05-23 00:42:40.326299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:40.333621"], ["updated_at", "2015-05-23 00:42:40.333621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:40.336298"], ["updated_at", "2015-05-23 00:42:40.336298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 00:42:40.337481"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:40.339527"], ["updated_at", "2015-05-23 00:42:40.339527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:40.341230"], ["updated_at", "2015-05-23 00:42:40.341230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:40.343354"], ["updated_at", "2015-05-23 00:42:40.343354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:40.346199"], ["updated_at", "2015-05-23 00:42:40.346199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:42:40.347797"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:40.351651"], ["updated_at", "2015-05-23 00:42:40.351651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:40.353346"], ["updated_at", "2015-05-23 00:42:40.353346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:40.355068"], ["updated_at", "2015-05-23 00:42:40.355068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:42:40.132961"], ["owner_id", 1], ["created_at", "2015-05-23 00:42:40.356484"], ["updated_at", "2015-05-23 00:42:40.356484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.480559"], ["updated_at", "2015-05-23 00:42:51.480559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.491180"], ["updated_at", "2015-05-23 00:42:51.491180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.498558"], ["updated_at", "2015-05-23 00:42:51.498558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:42:51.305114"], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.505222"], ["updated_at", "2015-05-23 00:42:51.505222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.513427"], ["updated_at", "2015-05-23 00:42:51.513427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.515431"], ["updated_at", "2015-05-23 00:42:51.515431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.517504"], ["updated_at", "2015-05-23 00:42:51.517504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.528165"], ["updated_at", "2015-05-23 00:42:51.528165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 02:00:00.000000"], ["current_period_end", "2016-05-23 02:00:00.000000"], ["updated_at", "2015-05-23 00:42:51.529725"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.534648"], ["updated_at", "2015-05-23 00:42:51.534648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.536895"], ["updated_at", "2015-05-23 00:42:51.536895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.538457"], ["updated_at", "2015-05-23 00:42:51.538457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.541103"], ["updated_at", "2015-05-23 00:42:51.541103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:42:51.542469"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.544408"], ["updated_at", "2015-05-23 00:42:51.544408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.546361"], ["updated_at", "2015-05-23 00:42:51.546361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.548225"], ["updated_at", "2015-05-23 00:42:51.548225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 100], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.550790"], ["updated_at", "2015-05-23 00:42:51.550790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:42:51.552037"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.2ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.556137"], ["updated_at", "2015-05-23 00:42:51.556137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.558310"], ["updated_at", "2015-05-23 00:42:51.558310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.560329"], ["updated_at", "2015-05-23 00:42:51.560329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.564801"], ["updated_at", "2015-05-23 00:42:51.564801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:42:51.566168"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.567782"], ["updated_at", "2015-05-23 00:42:51.567782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.569725"], ["updated_at", "2015-05-23 00:42:51.569725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.571876"], ["updated_at", "2015-05-23 00:42:51.571876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.574853"], ["updated_at", "2015-05-23 00:42:51.574853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 00:42:51.576619"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.578512"], ["updated_at", "2015-05-23 00:42:51.578512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.580999"], ["updated_at", "2015-05-23 00:42:51.580999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.582651"], ["updated_at", "2015-05-23 00:42:51.582651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.586204"], ["updated_at", "2015-05-23 00:42:51.586204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 00:42:51.592624"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.595659"], ["updated_at", "2015-05-23 00:42:51.595659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.598027"], ["updated_at", "2015-05-23 00:42:51.598027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.599646"], ["updated_at", "2015-05-23 00:42:51.599646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.602626"], ["updated_at", "2015-05-23 00:42:51.602626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:42:51.603969"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.607680"], ["updated_at", "2015-05-23 00:42:51.607680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-23 00:42:51.609539"], ["updated_at", "2015-05-23 00:42:51.609539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:42:51.610414"], ["updated_at", "2015-05-23 00:42:51.610808"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.613997"], ["updated_at", "2015-05-23 00:42:51.613997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 00:42:51.612642"], ["created_at", "2015-05-23 00:42:51.616130"], ["updated_at", "2015-05-23 00:42:51.616130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.618565"], ["updated_at", "2015-05-23 00:42:51.618565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.621191"], ["updated_at", "2015-05-23 00:42:51.621191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.627341"], ["updated_at", "2015-05-23 00:42:51.627341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.632347"], ["updated_at", "2015-05-23 00:42:51.632347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.635964"], ["updated_at", "2015-05-23 00:42:51.635964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.639066"], ["updated_at", "2015-05-23 00:42:51.639066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.641900"], ["updated_at", "2015-05-23 00:42:51.641900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.646642"], ["updated_at", "2015-05-23 00:42:51.646642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.649615"], ["updated_at", "2015-05-23 00:42:51.649615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.652487"], ["updated_at", "2015-05-23 00:42:51.652487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.654914"], ["updated_at", "2015-05-23 00:42:51.654914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.683443"], ["updated_at", "2015-05-23 00:42:51.683443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.685184"], ["updated_at", "2015-05-23 00:42:51.685184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.687029"], ["updated_at", "2015-05-23 00:42:51.687029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.688553"], ["updated_at", "2015-05-23 00:42:51.688553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.691421"], ["updated_at", "2015-05-23 00:42:51.691421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:42:51.692693"], ["updated_at", "2015-05-23 00:42:51.693111"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.695988"], ["updated_at", "2015-05-23 00:42:51.695988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.698908"], ["updated_at", "2015-05-23 00:42:51.698908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.701059"], ["updated_at", "2015-05-23 00:42:51.701059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-08 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.702451"], ["updated_at", "2015-05-23 00:42:51.702451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-08 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.705181"], ["updated_at", "2015-05-23 00:42:51.705181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:42:51.706195"], ["updated_at", "2015-05-23 00:42:51.706906"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.711123"], ["updated_at", "2015-05-23 00:42:51.711123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:42:51.305114"], ["created_at", "2015-05-23 00:42:51.713149"], ["updated_at", "2015-05-23 00:42:51.713149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.715703"], ["updated_at", "2015-05-23 00:42:51.715703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:42:51.716856"], ["updated_at", "2015-05-23 00:42:51.716856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.722608"], ["updated_at", "2015-05-23 00:42:51.722608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.724142"], ["updated_at", "2015-05-23 00:42:51.724142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:42:51.730914"], ["updated_at", "2015-05-23 00:42:51.730914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.733493"], ["updated_at", "2015-05-23 00:42:51.733493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.735106"], ["updated_at", "2015-05-23 00:42:51.735106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.736574"], ["updated_at", "2015-05-23 00:42:51.736574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:42:51.738789"], ["updated_at", "2015-05-23 00:42:51.738789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.740985"], ["updated_at", "2015-05-23 00:42:51.740985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.742790"], ["updated_at", "2015-05-23 00:42:51.742790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.744252"], ["updated_at", "2015-05-23 00:42:51.744252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:42:51.745843"], ["updated_at", "2015-05-23 00:42:51.745843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.747806"], ["updated_at", "2015-05-23 00:42:51.747806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.749669"], ["updated_at", "2015-05-23 00:42:51.749669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.751097"], ["updated_at", "2015-05-23 00:42:51.751097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:42:51.752664"], ["updated_at", "2015-05-23 00:42:51.752664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.754405"], ["updated_at", "2015-05-23 00:42:51.754405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.755888"], ["updated_at", "2015-05-23 00:42:51.755888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.757234"], ["updated_at", "2015-05-23 00:42:51.757234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:42:51.759805"], ["updated_at", "2015-05-23 00:42:51.759805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.762412"], ["updated_at", "2015-05-23 00:42:51.762412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 03:42:51.761030"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.764006"], ["updated_at", "2015-05-23 00:42:51.764006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 03:42:51.761030"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.765683"], ["updated_at", "2015-05-23 00:42:51.765683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:42:51.767443"], ["updated_at", "2015-05-23 00:42:51.767443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.770011"], ["updated_at", "2015-05-23 00:42:51.770011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.771600"], ["updated_at", "2015-05-23 00:42:51.771600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.773119"], ["updated_at", "2015-05-23 00:42:51.773119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:42:51.774751"], ["updated_at", "2015-05-23 00:42:51.774751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.776785"], ["updated_at", "2015-05-23 00:42:51.776785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 21:42:51.775502"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.778149"], ["updated_at", "2015-05-23 00:42:51.778149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-22 21:42:51.775502"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.779518"], ["updated_at", "2015-05-23 00:42:51.779518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.781998"], ["updated_at", "2015-05-23 00:42:51.781998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:42:51.783036"], ["updated_at", "2015-05-23 00:42:51.783036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.784726"], ["updated_at", "2015-05-23 00:42:51.784726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.786042"], ["updated_at", "2015-05-23 00:42:51.786042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.787772"], ["updated_at", "2015-05-23 00:42:51.787772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.789231"], ["updated_at", "2015-05-23 00:42:51.789231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.790840"], ["updated_at", "2015-05-23 00:42:51.790840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.792294"], ["updated_at", "2015-05-23 00:42:51.792294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.795607"], ["updated_at", "2015-05-23 00:42:51.795607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:42:51.796789"], ["updated_at", "2015-05-23 00:42:51.797284"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 00:42:51.798238"], ["current_period_start", "2015-05-23 00:42:51.798238"], ["current_period_end", "2015-06-23 00:42:51.798238"], ["created_at", "2015-05-23 00:42:51.799455"], ["updated_at", "2015-05-23 00:42:51.799455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.802453"], ["updated_at", "2015-05-23 00:42:51.802453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.804136"], ["updated_at", "2015-05-23 00:42:51.804136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.805843"], ["updated_at", "2015-05-23 00:42:51.805843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.807301"], ["updated_at", "2015-05-23 00:42:51.807301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.810113"], ["updated_at", "2015-05-23 00:42:51.810113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:42:51.810942"], ["updated_at", "2015-05-23 00:42:51.811320"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 00:42:51.811995"], ["current_period_start", "2015-05-23 00:42:51.811995"], ["current_period_end", "2015-06-23 00:42:51.811995"], ["created_at", "2015-05-23 00:42:51.812534"], ["updated_at", "2015-05-23 00:42:51.812534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.814422"], ["updated_at", "2015-05-23 00:42:51.814422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.816061"], ["updated_at", "2015-05-23 00:42:51.816061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.818279"], ["updated_at", "2015-05-23 00:42:51.818279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-08 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.819829"], ["updated_at", "2015-05-23 00:42:51.819829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-08 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:42:51.822556"], ["updated_at", "2015-05-23 00:42:51.822556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:42:51.823405"], ["updated_at", "2015-05-23 00:42:51.823860"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 00:42:51.824507"], ["current_period_start", "2015-05-23 00:42:51.824507"], ["current_period_end", "2015-06-23 00:42:51.824507"], ["created_at", "2015-05-23 00:42:51.825113"], ["updated_at", "2015-05-23 00:42:51.825113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.827490"], ["updated_at", "2015-05-23 00:42:51.827490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.829541"], ["updated_at", "2015-05-23 00:42:51.829541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 00:42:51.831617"], ["current_period_start", "2015-05-23 00:42:51.831617"], ["current_period_end", "2015-06-23 00:42:51.831617"], ["created_at", "2015-05-23 00:42:51.833108"], ["updated_at", "2015-05-23 00:42:51.833108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.835914"], ["updated_at", "2015-05-23 00:42:51.835914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.837426"], ["updated_at", "2015-05-23 00:42:51.837426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 00:42:51.838570"], ["current_period_start", "2015-05-23 00:42:51.838570"], ["current_period_end", "2015-06-23 00:42:51.838570"], ["created_at", "2015-05-23 00:42:51.839213"], ["updated_at", "2015-05-23 00:42:51.839213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-23 00:42:51.841512"], ["updated_at", "2015-05-23 00:42:51.841512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-23 00:42:51.843231"], ["updated_at", "2015-05-23 00:42:51.843231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.844734"], ["updated_at", "2015-05-23 00:42:51.844734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.864984"], ["updated_at", "2015-05-23 00:42:51.864984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.878872"], ["updated_at", "2015-05-23 00:42:51.878872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.880469"], ["updated_at", "2015-05-23 00:42:51.880469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.881924"], ["updated_at", "2015-05-23 00:42:51.881924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.884107"], ["updated_at", "2015-05-23 00:42:51.884107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.885921"], ["updated_at", "2015-05-23 00:42:51.885921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.887465"], ["updated_at", "2015-05-23 00:42:51.887465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.890056"], ["updated_at", "2015-05-23 00:42:51.890056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.893580"], ["updated_at", "2015-05-23 00:42:51.893580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:42:51.305114"], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.896337"], ["updated_at", "2015-05-23 00:42:51.896337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.898844"], ["updated_at", "2015-05-23 00:42:51.898844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 00:42:51.897301"], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.900581"], ["updated_at", "2015-05-23 00:42:51.900581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.903190"], ["updated_at", "2015-05-23 00:42:51.903190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.905159"], ["updated_at", "2015-05-23 00:42:51.905159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.906718"], ["updated_at", "2015-05-23 00:42:51.906718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.909319"], ["updated_at", "2015-05-23 00:42:51.909319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.911615"], ["updated_at", "2015-05-23 00:42:51.911615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:42:51.305114"], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.913783"], ["updated_at", "2015-05-23 00:42:51.913783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.917117"], ["updated_at", "2015-05-23 00:42:51.917117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.921167"], ["updated_at", "2015-05-23 00:42:51.921167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.923957"], ["updated_at", "2015-05-23 00:42:51.923957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.928127"], ["updated_at", "2015-05-23 00:42:51.928127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:42:51.930654"], ["updated_at", "2015-05-23 00:42:51.930654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.934311"], ["updated_at", "2015-05-23 00:42:51.934311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:42:51.305114"], ["owner_id", 1], ["created_at", "2015-05-23 00:42:51.937439"], ["updated_at", "2015-05-23 00:42:51.937439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.5ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.954132"], ["updated_at", "2015-05-23 00:42:51.954132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 00:42:51.952134"], ["created_at", "2015-05-23 00:42:51.956834"], ["updated_at", "2015-05-23 00:42:51.956834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.4ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.963732"], ["updated_at", "2015-05-23 00:42:51.963732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.969439"], ["updated_at", "2015-05-23 00:42:51.969439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-23 00:42:51.974577"], ["updated_at", "2015-05-23 00:42:51.974577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:42:51.978000"], ["updated_at", "2015-05-23 00:42:51.978000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 00:42:51.979247"], ["current_period_start", "2015-05-23 00:42:51.979247"], ["current_period_end", "2015-06-23 00:42:51.979247"], ["created_at", "2015-05-23 00:42:51.980363"], ["updated_at", "2015-05-23 00:42:51.980363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:57.682737"], ["updated_at", "2015-05-23 00:44:57.682737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.696620"], ["updated_at", "2015-05-23 00:44:57.696620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.703173"], ["updated_at", "2015-05-23 00:44:57.703173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.709062"], ["updated_at", "2015-05-23 00:44:57.709062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.722753"], ["updated_at", "2015-05-23 00:44:57.722753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:44:57.725190"], ["updated_at", "2015-05-23 00:44:57.725875"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:57.731872"], ["updated_at", "2015-05-23 00:44:57.731872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.733666"], ["updated_at", "2015-05-23 00:44:57.733666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.735503"], ["updated_at", "2015-05-23 00:44:57.735503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-08 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.736953"], ["updated_at", "2015-05-23 00:44:57.736953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-08 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.739462"], ["updated_at", "2015-05-23 00:44:57.739462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:44:57.740302"], ["updated_at", "2015-05-23 00:44:57.740691"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.2ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.745494"], ["updated_at", "2015-05-23 00:44:57.745494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:44:57.507336"], ["created_at", "2015-05-23 00:44:57.747093"], ["updated_at", "2015-05-23 00:44:57.747093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:44:57.752620"], ["updated_at", "2015-05-23 00:44:57.752620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.755465"], ["updated_at", "2015-05-23 00:44:57.755465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.757617"], ["updated_at", "2015-05-23 00:44:57.757617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.760589"], ["updated_at", "2015-05-23 00:44:57.760589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.762968"], ["updated_at", "2015-05-23 00:44:57.762968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:44:57.764088"], ["updated_at", "2015-05-23 00:44:57.764088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.765797"], ["updated_at", "2015-05-23 00:44:57.765797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.767154"], ["updated_at", "2015-05-23 00:44:57.767154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:44:57.768720"], ["updated_at", "2015-05-23 00:44:57.768720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.770543"], ["updated_at", "2015-05-23 00:44:57.770543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 21:44:57.769339"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.771970"], ["updated_at", "2015-05-23 00:44:57.771970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-22 21:44:57.769339"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.773412"], ["updated_at", "2015-05-23 00:44:57.773412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:44:57.775447"], ["updated_at", "2015-05-23 00:44:57.775447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.777539"], ["updated_at", "2015-05-23 00:44:57.777539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.778966"], ["updated_at", "2015-05-23 00:44:57.778966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.780375"], ["updated_at", "2015-05-23 00:44:57.780375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.788465"], ["updated_at", "2015-05-23 00:44:57.788465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:44:57.789587"], ["updated_at", "2015-05-23 00:44:57.789587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.792983"], ["updated_at", "2015-05-23 00:44:57.792983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.794781"], ["updated_at", "2015-05-23 00:44:57.794781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:44:57.796665"], ["updated_at", "2015-05-23 00:44:57.796665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.798767"], ["updated_at", "2015-05-23 00:44:57.798767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.800236"], ["updated_at", "2015-05-23 00:44:57.800236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.801601"], ["updated_at", "2015-05-23 00:44:57.801601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:44:57.803045"], ["updated_at", "2015-05-23 00:44:57.803045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.804734"], ["updated_at", "2015-05-23 00:44:57.804734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.806169"], ["updated_at", "2015-05-23 00:44:57.806169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.808298"], ["updated_at", "2015-05-23 00:44:57.808298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:44:57.809904"], ["updated_at", "2015-05-23 00:44:57.809904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.811871"], ["updated_at", "2015-05-23 00:44:57.811871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 03:44:57.810572"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.813341"], ["updated_at", "2015-05-23 00:44:57.813341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 03:44:57.810572"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.814774"], ["updated_at", "2015-05-23 00:44:57.814774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 00:44:57.816336"], ["updated_at", "2015-05-23 00:44:57.816336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.818036"], ["updated_at", "2015-05-23 00:44:57.818036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.819445"], ["updated_at", "2015-05-23 00:44:57.819445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.820781"], ["updated_at", "2015-05-23 00:44:57.820781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-23 00:44:57.823102"], ["updated_at", "2015-05-23 00:44:57.823102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.825479"], ["updated_at", "2015-05-23 00:44:57.825479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 00:44:57.827591"], ["current_period_start", "2015-05-23 00:44:57.827591"], ["current_period_end", "2015-06-23 00:44:57.827591"], ["created_at", "2015-05-23 00:44:57.828712"], ["updated_at", "2015-05-23 00:44:57.828712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:57.831479"], ["updated_at", "2015-05-23 00:44:57.831479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.833209"], ["updated_at", "2015-05-23 00:44:57.833209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.835038"], ["updated_at", "2015-05-23 00:44:57.835038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.836512"], ["updated_at", "2015-05-23 00:44:57.836512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.839520"], ["updated_at", "2015-05-23 00:44:57.839520"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:44:57.840397"], ["updated_at", "2015-05-23 00:44:57.840884"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 00:44:57.842146"], ["current_period_start", "2015-05-23 00:44:57.842146"], ["current_period_end", "2015-06-23 00:44:57.842146"], ["created_at", "2015-05-23 00:44:57.842952"], ["updated_at", "2015-05-23 00:44:57.842952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:57.845095"], ["updated_at", "2015-05-23 00:44:57.845095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.846817"], ["updated_at", "2015-05-23 00:44:57.846817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.848726"], ["updated_at", "2015-05-23 00:44:57.848726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.850158"], ["updated_at", "2015-05-23 00:44:57.850158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.853630"], ["updated_at", "2015-05-23 00:44:57.853630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:44:57.854700"], ["updated_at", "2015-05-23 00:44:57.855191"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 00:44:57.856037"], ["current_period_start", "2015-05-23 00:44:57.856037"], ["current_period_end", "2015-06-23 00:44:57.856037"], ["created_at", "2015-05-23 00:44:57.856985"], ["updated_at", "2015-05-23 00:44:57.856985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:57.860268"], ["updated_at", "2015-05-23 00:44:57.860268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.862028"], ["updated_at", "2015-05-23 00:44:57.862028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.864068"], ["updated_at", "2015-05-23 00:44:57.864068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-08 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:57.865468"], ["updated_at", "2015-05-23 00:44:57.865468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-08 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:57.868398"], ["updated_at", "2015-05-23 00:44:57.868398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:44:57.869332"], ["updated_at", "2015-05-23 00:44:57.869749"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 00:44:57.870469"], ["current_period_start", "2015-05-23 00:44:57.870469"], ["current_period_end", "2015-06-23 00:44:57.870469"], ["created_at", "2015-05-23 00:44:57.871015"], ["updated_at", "2015-05-23 00:44:57.871015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:57.873003"], ["updated_at", "2015-05-23 00:44:57.873003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.874572"], ["updated_at", "2015-05-23 00:44:57.874572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 00:44:57.876317"], ["current_period_start", "2015-05-23 00:44:57.876317"], ["current_period_end", "2015-06-23 00:44:57.876317"], ["created_at", "2015-05-23 00:44:57.877074"], ["updated_at", "2015-05-23 00:44:57.877074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:57.879075"], ["updated_at", "2015-05-23 00:44:57.879075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.880661"], ["updated_at", "2015-05-23 00:44:57.880661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 00:44:57.881753"], ["current_period_start", "2015-05-23 00:44:57.881753"], ["current_period_end", "2015-06-23 00:44:57.881753"], ["created_at", "2015-05-23 00:44:57.882336"], ["updated_at", "2015-05-23 00:44:57.882336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.899731"], ["updated_at", "2015-05-23 00:44:57.899731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-23 00:44:57.915935"], ["updated_at", "2015-05-23 00:44:57.915935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (4.6ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-23 00:44:57.917586"], ["updated_at", "2015-05-23 00:44:57.917586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.924026"], ["updated_at", "2015-05-23 00:44:57.924026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.927621"], ["updated_at", "2015-05-23 00:44:57.927621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.929182"], ["updated_at", "2015-05-23 00:44:57.929182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.931061"], ["updated_at", "2015-05-23 00:44:57.931061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.934003"], ["updated_at", "2015-05-23 00:44:57.934003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.937267"], ["updated_at", "2015-05-23 00:44:57.937267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.939992"], ["updated_at", "2015-05-23 00:44:57.939992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.942941"], ["updated_at", "2015-05-23 00:44:57.942941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.949433"], ["updated_at", "2015-05-23 00:44:57.949433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.952375"], ["updated_at", "2015-05-23 00:44:57.952375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.955122"], ["updated_at", "2015-05-23 00:44:57.955122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.957886"], ["updated_at", "2015-05-23 00:44:57.957886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.961339"], ["updated_at", "2015-05-23 00:44:57.961339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.964751"], ["updated_at", "2015-05-23 00:44:57.964751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:57.967766"], ["updated_at", "2015-05-23 00:44:57.967766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:57.998991"], ["updated_at", "2015-05-23 00:44:57.998991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.000825"], ["updated_at", "2015-05-23 00:44:58.000825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.002782"], ["updated_at", "2015-05-23 00:44:58.002782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:44:57.507336"], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.004171"], ["updated_at", "2015-05-23 00:44:58.004171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.007154"], ["updated_at", "2015-05-23 00:44:58.007154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.009911"], ["updated_at", "2015-05-23 00:44:58.009911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.011702"], ["updated_at", "2015-05-23 00:44:58.011702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:58.014775"], ["updated_at", "2015-05-23 00:44:58.014775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 00:44:58.016107"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.017731"], ["updated_at", "2015-05-23 00:44:58.017731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.019432"], ["updated_at", "2015-05-23 00:44:58.019432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.021309"], ["updated_at", "2015-05-23 00:44:58.021309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:58.025788"], ["updated_at", "2015-05-23 00:44:58.025788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:44:58.027647"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.030390"], ["updated_at", "2015-05-23 00:44:58.030390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.032626"], ["updated_at", "2015-05-23 00:44:58.032626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.034608"], ["updated_at", "2015-05-23 00:44:58.034608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:58.038056"], ["updated_at", "2015-05-23 00:44:58.038056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 02:00:00.000000"], ["current_period_end", "2016-05-23 02:00:00.000000"], ["updated_at", "2015-05-23 00:44:58.039282"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.040890"], ["updated_at", "2015-05-23 00:44:58.040890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.043079"], ["updated_at", "2015-05-23 00:44:58.043079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.044885"], ["updated_at", "2015-05-23 00:44:58.044885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:58.047730"], ["updated_at", "2015-05-23 00:44:58.047730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:44:58.052808"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.055469"], ["updated_at", "2015-05-23 00:44:58.055469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.057714"], ["updated_at", "2015-05-23 00:44:58.057714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.059369"], ["updated_at", "2015-05-23 00:44:58.059369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:58.062881"], ["updated_at", "2015-05-23 00:44:58.062881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:44:58.064387"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.066051"], ["updated_at", "2015-05-23 00:44:58.066051"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.068511"], ["updated_at", "2015-05-23 00:44:58.068511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.070689"], ["updated_at", "2015-05-23 00:44:58.070689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:58.073677"], ["updated_at", "2015-05-23 00:44:58.073677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 00:44:58.075065"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.077229"], ["updated_at", "2015-05-23 00:44:58.077229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.079688"], ["updated_at", "2015-05-23 00:44:58.079688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.081513"], ["updated_at", "2015-05-23 00:44:58.081513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 00:44:58.084502"], ["updated_at", "2015-05-23 00:44:58.084502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 00:44:58.085845"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.088761"], ["updated_at", "2015-05-23 00:44:58.088761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.090947"], ["updated_at", "2015-05-23 00:44:58.090947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.092593"], ["updated_at", "2015-05-23 00:44:58.092593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.096569"], ["updated_at", "2015-05-23 00:44:58.096569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.099965"], ["updated_at", "2015-05-23 00:44:58.099965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:44:57.507336"], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.101969"], ["updated_at", "2015-05-23 00:44:58.101969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.104331"], ["updated_at", "2015-05-23 00:44:58.104331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 00:44:58.102820"], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.105918"], ["updated_at", "2015-05-23 00:44:58.105918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.108562"], ["updated_at", "2015-05-23 00:44:58.108562"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.110455"], ["updated_at", "2015-05-23 00:44:58.110455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.112489"], ["updated_at", "2015-05-23 00:44:58.112489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.114398"], ["updated_at", "2015-05-23 00:44:58.114398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.117297"], ["updated_at", "2015-05-23 00:44:58.117297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.119624"], ["updated_at", "2015-05-23 00:44:58.119624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:44:57.507336"], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.121403"], ["updated_at", "2015-05-23 00:44:58.121403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.128624"], ["updated_at", "2015-05-23 00:44:58.128624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.132428"], ["updated_at", "2015-05-23 00:44:58.132428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.135642"], ["updated_at", "2015-05-23 00:44:58.135642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 00:44:58.138735"], ["updated_at", "2015-05-23 00:44:58.138735"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.141726"], ["updated_at", "2015-05-23 00:44:58.141726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 00:44:57.507336"], ["owner_id", 1], ["created_at", "2015-05-23 00:44:58.143919"], ["updated_at", "2015-05-23 00:44:58.143919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.148871"], ["updated_at", "2015-05-23 00:44:58.148871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-23 00:44:58.150416"], ["updated_at", "2015-05-23 00:44:58.150416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 00:44:58.151604"], ["updated_at", "2015-05-23 00:44:58.151948"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.154923"], ["updated_at", "2015-05-23 00:44:58.154923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 00:44:58.153521"], ["created_at", "2015-05-23 00:44:58.158723"], ["updated_at", "2015-05-23 00:44:58.158723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.163420"], ["updated_at", "2015-05-23 00:44:58.163420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 00:44:58.161604"], ["created_at", "2015-05-23 00:44:58.166137"], ["updated_at", "2015-05-23 00:44:58.166137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.180937"], ["updated_at", "2015-05-23 00:44:58.180937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 00:44:58.185684"], ["updated_at", "2015-05-23 00:44:58.185684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.907585"], ["updated_at", "2015-05-23 01:01:09.907585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.914837"], ["updated_at", "2015-05-23 01:01:09.914837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.920005"], ["updated_at", "2015-05-23 01:01:09.920005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 01:01:09.919011"], ["created_at", "2015-05-23 01:01:09.921517"], ["updated_at", "2015-05-23 01:01:09.921517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.923614"], ["updated_at", "2015-05-23 01:01:09.923614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.926692"], ["updated_at", "2015-05-23 01:01:09.926692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.929591"], ["updated_at", "2015-05-23 01:01:09.929591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.935844"], ["updated_at", "2015-05-23 01:01:09.935844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.940001"], ["updated_at", "2015-05-23 01:01:09.940001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.943972"], ["updated_at", "2015-05-23 01:01:09.943972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.946692"], ["updated_at", "2015-05-23 01:01:09.946692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.949321"], ["updated_at", "2015-05-23 01:01:09.949321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.951931"], ["updated_at", "2015-05-23 01:01:09.951931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.954714"], ["updated_at", "2015-05-23 01:01:09.954714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.957234"], ["updated_at", "2015-05-23 01:01:09.957234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-23 01:01:09.961244"], ["updated_at", "2015-05-23 01:01:09.961244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.962893"], ["updated_at", "2015-05-23 01:01:09.962893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 01:01:09.963577"], ["current_period_start", "2015-05-23 01:01:09.963577"], ["current_period_end", "2015-06-23 01:01:09.963577"], ["created_at", "2015-05-23 01:01:09.965579"], ["updated_at", "2015-05-23 01:01:09.965579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:09.968537"], ["updated_at", "2015-05-23 01:01:09.968537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.971027"], ["updated_at", "2015-05-23 01:01:09.971027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:09.972529"], ["updated_at", "2015-05-23 01:01:09.972529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:09.979273"], ["updated_at", "2015-05-23 01:01:09.979273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.982390"], ["updated_at", "2015-05-23 01:01:09.982390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 01:01:09.724845"], ["owner_id", 1], ["created_at", "2015-05-23 01:01:09.984363"], ["updated_at", "2015-05-23 01:01:09.984363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.986474"], ["updated_at", "2015-05-23 01:01:09.986474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 01:01:09.985235"], ["owner_id", 1], ["created_at", "2015-05-23 01:01:09.992540"], ["updated_at", "2015-05-23 01:01:09.992540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:09.995849"], ["updated_at", "2015-05-23 01:01:09.995849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:09.998413"], ["updated_at", "2015-05-23 01:01:09.998413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.000144"], ["updated_at", "2015-05-23 01:01:10.000144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.002224"], ["updated_at", "2015-05-23 01:01:10.002224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.004185"], ["updated_at", "2015-05-23 01:01:10.004185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 01:01:09.724845"], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.005612"], ["updated_at", "2015-05-23 01:01:10.005612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.007566"], ["updated_at", "2015-05-23 01:01:10.007566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.009221"], ["updated_at", "2015-05-23 01:01:10.009221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.010645"], ["updated_at", "2015-05-23 01:01:10.010645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.012486"], ["updated_at", "2015-05-23 01:01:10.012486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.014271"], ["updated_at", "2015-05-23 01:01:10.014271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 01:01:09.724845"], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.015670"], ["updated_at", "2015-05-23 01:01:10.015670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.017548"], ["updated_at", "2015-05-23 01:01:10.017548"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-23 01:01:10.022652"], ["updated_at", "2015-05-23 01:01:10.022652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-23 01:01:10.024120"], ["updated_at", "2015-05-23 01:01:10.024120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.026324"], ["updated_at", "2015-05-23 01:01:10.026324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.031781"], ["updated_at", "2015-05-23 01:01:10.031781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.033190"], ["updated_at", "2015-05-23 01:01:10.033190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.034434"], ["updated_at", "2015-05-23 01:01:10.034434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.036659"], ["updated_at", "2015-05-23 01:01:10.036659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.089396"], ["updated_at", "2015-05-23 01:01:10.089396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.091291"], ["updated_at", "2015-05-23 01:01:10.091291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.093145"], ["updated_at", "2015-05-23 01:01:10.093145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.094503"], ["updated_at", "2015-05-23 01:01:10.094503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.103997"], ["updated_at", "2015-05-23 01:01:10.103997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 01:01:10.105016"], ["updated_at", "2015-05-23 01:01:10.105394"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 01:01:10.106515"], ["current_period_start", "2015-05-23 01:01:10.106515"], ["current_period_end", "2015-06-23 01:01:10.106515"], ["created_at", "2015-05-23 01:01:10.107090"], ["updated_at", "2015-05-23 01:01:10.107090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.109224"], ["updated_at", "2015-05-23 01:01:10.109224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.110788"], ["updated_at", "2015-05-23 01:01:10.110788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.112521"], ["updated_at", "2015-05-23 01:01:10.112521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-08 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.113824"], ["updated_at", "2015-05-23 01:01:10.113824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-08 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.116877"], ["updated_at", "2015-05-23 01:01:10.116877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 01:01:10.117997"], ["updated_at", "2015-05-23 01:01:10.118449"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 01:01:10.119335"], ["current_period_start", "2015-05-23 01:01:10.119335"], ["current_period_end", "2015-06-23 01:01:10.119335"], ["created_at", "2015-05-23 01:01:10.119971"], ["updated_at", "2015-05-23 01:01:10.119971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.122573"], ["updated_at", "2015-05-23 01:01:10.122573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.124086"], ["updated_at", "2015-05-23 01:01:10.124086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.125719"], ["updated_at", "2015-05-23 01:01:10.125719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.127030"], ["updated_at", "2015-05-23 01:01:10.127030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.130004"], ["updated_at", "2015-05-23 01:01:10.130004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 01:01:10.130886"], ["updated_at", "2015-05-23 01:01:10.131279"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 01:01:10.131988"], ["current_period_start", "2015-05-23 01:01:10.131988"], ["current_period_end", "2015-06-23 01:01:10.131988"], ["created_at", "2015-05-23 01:01:10.132562"], ["updated_at", "2015-05-23 01:01:10.132562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.134662"], ["updated_at", "2015-05-23 01:01:10.134662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.136170"], ["updated_at", "2015-05-23 01:01:10.136170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 01:01:10.137443"], ["current_period_start", "2015-05-23 01:01:10.137443"], ["current_period_end", "2015-06-23 01:01:10.137443"], ["created_at", "2015-05-23 01:01:10.138024"], ["updated_at", "2015-05-23 01:01:10.138024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.139862"], ["updated_at", "2015-05-23 01:01:10.139862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.141211"], ["updated_at", "2015-05-23 01:01:10.141211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 01:01:10.142272"], ["current_period_start", "2015-05-23 01:01:10.142272"], ["current_period_end", "2015-06-23 01:01:10.142272"], ["created_at", "2015-05-23 01:01:10.142824"], ["updated_at", "2015-05-23 01:01:10.142824"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.146173"], ["updated_at", "2015-05-23 01:01:10.146173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-23 01:01:10.148409"], ["updated_at", "2015-05-23 01:01:10.148409"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 01:01:10.149205"], ["updated_at", "2015-05-23 01:01:10.149649"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.152255"], ["updated_at", "2015-05-23 01:01:10.152255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 01:01:10.150977"], ["created_at", "2015-05-23 01:01:10.153801"], ["updated_at", "2015-05-23 01:01:10.153801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.156305"], ["updated_at", "2015-05-23 01:01:10.156305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 01:01:09.724845"], ["created_at", "2015-05-23 01:01:10.157707"], ["updated_at", "2015-05-23 01:01:10.157707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:10.159297"], ["updated_at", "2015-05-23 01:01:10.159297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.161118"], ["updated_at", "2015-05-23 01:01:10.161118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.162618"], ["updated_at", "2015-05-23 01:01:10.162618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.164185"], ["updated_at", "2015-05-23 01:01:10.164185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.166716"], ["updated_at", "2015-05-23 01:01:10.166716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:10.167662"], ["updated_at", "2015-05-23 01:01:10.167662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.169415"], ["updated_at", "2015-05-23 01:01:10.169415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.170720"], ["updated_at", "2015-05-23 01:01:10.170720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:10.176047"], ["updated_at", "2015-05-23 01:01:10.176047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.178768"], ["updated_at", "2015-05-23 01:01:10.178768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.180654"], ["updated_at", "2015-05-23 01:01:10.180654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.182132"], ["updated_at", "2015-05-23 01:01:10.182132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:10.183781"], ["updated_at", "2015-05-23 01:01:10.183781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.187013"], ["updated_at", "2015-05-23 01:01:10.187013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 22:01:10.184737"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.188972"], ["updated_at", "2015-05-23 01:01:10.188972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-22 22:01:10.184737"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.190411"], ["updated_at", "2015-05-23 01:01:10.190411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.192668"], ["updated_at", "2015-05-23 01:01:10.192668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:10.193618"], ["updated_at", "2015-05-23 01:01:10.193618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.195313"], ["updated_at", "2015-05-23 01:01:10.195313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.196790"], ["updated_at", "2015-05-23 01:01:10.196790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:10.198655"], ["updated_at", "2015-05-23 01:01:10.198655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.200473"], ["updated_at", "2015-05-23 01:01:10.200473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.201938"], ["updated_at", "2015-05-23 01:01:10.201938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.203317"], ["updated_at", "2015-05-23 01:01:10.203317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:10.204912"], ["updated_at", "2015-05-23 01:01:10.204912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.206633"], ["updated_at", "2015-05-23 01:01:10.206633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.208580"], ["updated_at", "2015-05-23 01:01:10.208580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.210331"], ["updated_at", "2015-05-23 01:01:10.210331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:10.212122"], ["updated_at", "2015-05-23 01:01:10.212122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.214210"], ["updated_at", "2015-05-23 01:01:10.214210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.215685"], ["updated_at", "2015-05-23 01:01:10.215685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.217096"], ["updated_at", "2015-05-23 01:01:10.217096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:10.218538"], ["updated_at", "2015-05-23 01:01:10.218538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.220567"], ["updated_at", "2015-05-23 01:01:10.220567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 04:01:10.219134"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.226611"], ["updated_at", "2015-05-23 01:01:10.226611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 04:01:10.219134"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.228303"], ["updated_at", "2015-05-23 01:01:10.228303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.230109"], ["updated_at", "2015-05-23 01:01:10.230109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.231660"], ["updated_at", "2015-05-23 01:01:10.231660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.233529"], ["updated_at", "2015-05-23 01:01:10.233529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 01:01:09.724845"], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.234887"], ["updated_at", "2015-05-23 01:01:10.234887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.237119"], ["updated_at", "2015-05-23 01:01:10.237119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.239886"], ["updated_at", "2015-05-23 01:01:10.239886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.241795"], ["updated_at", "2015-05-23 01:01:10.241795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.244855"], ["updated_at", "2015-05-23 01:01:10.244855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 01:01:10.246107"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.247706"], ["updated_at", "2015-05-23 01:01:10.247706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.249727"], ["updated_at", "2015-05-23 01:01:10.249727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.251147"], ["updated_at", "2015-05-23 01:01:10.251147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.253982"], ["updated_at", "2015-05-23 01:01:10.253982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 01:01:10.255188"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.256776"], ["updated_at", "2015-05-23 01:01:10.256776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.258682"], ["updated_at", "2015-05-23 01:01:10.258682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.260185"], ["updated_at", "2015-05-23 01:01:10.260185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.263015"], ["updated_at", "2015-05-23 01:01:10.263015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 01:01:10.264271"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.265835"], ["updated_at", "2015-05-23 01:01:10.265835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.267565"], ["updated_at", "2015-05-23 01:01:10.267565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.270251"], ["updated_at", "2015-05-23 01:01:10.270251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.274019"], ["updated_at", "2015-05-23 01:01:10.274019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 02:00:00.000000"], ["current_period_end", "2016-05-23 02:00:00.000000"], ["updated_at", "2015-05-23 01:01:10.275439"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.277784"], ["updated_at", "2015-05-23 01:01:10.277784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.280215"], ["updated_at", "2015-05-23 01:01:10.280215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.281808"], ["updated_at", "2015-05-23 01:01:10.281808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.284791"], ["updated_at", "2015-05-23 01:01:10.284791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 01:01:10.286064"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.288275"], ["updated_at", "2015-05-23 01:01:10.288275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.290917"], ["updated_at", "2015-05-23 01:01:10.290917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.294464"], ["updated_at", "2015-05-23 01:01:10.294464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.298951"], ["updated_at", "2015-05-23 01:01:10.298951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 01:01:10.302319"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.305109"], ["updated_at", "2015-05-23 01:01:10.305109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.308067"], ["updated_at", "2015-05-23 01:01:10.308067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.311342"], ["updated_at", "2015-05-23 01:01:10.311342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.315194"], ["updated_at", "2015-05-23 01:01:10.315194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 01:01:10.316863"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.321013"], ["updated_at", "2015-05-23 01:01:10.321013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.323199"], ["updated_at", "2015-05-23 01:01:10.323199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.326482"], ["updated_at", "2015-05-23 01:01:10.326482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.329057"], ["updated_at", "2015-05-23 01:01:10.329057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.334726"], ["updated_at", "2015-05-23 01:01:10.334726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 01:01:10.336383"], ["updated_at", "2015-05-23 01:01:10.336835"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:10.340185"], ["updated_at", "2015-05-23 01:01:10.340185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.342932"], ["updated_at", "2015-05-23 01:01:10.342932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:10.346224"], ["updated_at", "2015-05-23 01:01:10.346224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-08 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:10.348309"], ["updated_at", "2015-05-23 01:01:10.348309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-08 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:10.352630"], ["updated_at", "2015-05-23 01:01:10.352630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 01:01:10.353870"], ["updated_at", "2015-05-23 01:01:10.354607"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.321955"], ["updated_at", "2015-05-23 01:01:31.321955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 01:01:31.299913"], ["created_at", "2015-05-23 01:01:31.328199"], ["updated_at", "2015-05-23 01:01:31.328199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.332662"], ["updated_at", "2015-05-23 01:01:31.332662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-23 01:01:31.334837"], ["updated_at", "2015-05-23 01:01:31.334837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 01:01:31.335914"], ["updated_at", "2015-05-23 01:01:31.336304"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.343012"], ["updated_at", "2015-05-23 01:01:31.343012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.345837"], ["updated_at", "2015-05-23 01:01:31.345837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.348228"], ["updated_at", "2015-05-23 01:01:31.348228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.367934"], ["updated_at", "2015-05-23 01:01:31.367934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 01:01:31.369872"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.372238"], ["updated_at", "2015-05-23 01:01:31.372238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.374849"], ["updated_at", "2015-05-23 01:01:31.374849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.377643"], ["updated_at", "2015-05-23 01:01:31.377643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.381894"], ["updated_at", "2015-05-23 01:01:31.381894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 02:00:00.000000"], ["current_period_end", "2016-05-23 02:00:00.000000"], ["updated_at", "2015-05-23 01:01:31.383632"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.385709"], ["updated_at", "2015-05-23 01:01:31.385709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.388255"], ["updated_at", "2015-05-23 01:01:31.388255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.390143"], ["updated_at", "2015-05-23 01:01:31.390143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.393392"], ["updated_at", "2015-05-23 01:01:31.393392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 01:01:31.394880"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.396501"], ["updated_at", "2015-05-23 01:01:31.396501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.398217"], ["updated_at", "2015-05-23 01:01:31.398217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.400112"], ["updated_at", "2015-05-23 01:01:31.400112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.403030"], ["updated_at", "2015-05-23 01:01:31.403030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 01:01:31.404413"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.411498"], ["updated_at", "2015-05-23 01:01:31.411498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.413417"], ["updated_at", "2015-05-23 01:01:31.413417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.414887"], ["updated_at", "2015-05-23 01:01:31.414887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.418517"], ["updated_at", "2015-05-23 01:01:31.418517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 01:01:31.419885"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.422517"], ["updated_at", "2015-05-23 01:01:31.422517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.424611"], ["updated_at", "2015-05-23 01:01:31.424611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.425955"], ["updated_at", "2015-05-23 01:01:31.425955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.428691"], ["updated_at", "2015-05-23 01:01:31.428691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 01:01:31.430340"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.432064"], ["updated_at", "2015-05-23 01:01:31.432064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.433674"], ["updated_at", "2015-05-23 01:01:31.433674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.435440"], ["updated_at", "2015-05-23 01:01:31.435440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.438319"], ["updated_at", "2015-05-23 01:01:31.438319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 01:01:31.439556"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.443045"], ["updated_at", "2015-05-23 01:01:31.443045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.444732"], ["updated_at", "2015-05-23 01:01:31.444732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.447108"], ["updated_at", "2015-05-23 01:01:31.447108"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 01:01:30.987590"], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.449010"], ["updated_at", "2015-05-23 01:01:31.449010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.452523"], ["updated_at", "2015-05-23 01:01:31.452523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 01:01:30.987590"], ["created_at", "2015-05-23 01:01:31.454075"], ["updated_at", "2015-05-23 01:01:31.454075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:31.456516"], ["updated_at", "2015-05-23 01:01:31.456516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.459410"], ["updated_at", "2015-05-23 01:01:31.459410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 04:01:31.457560"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.461328"], ["updated_at", "2015-05-23 01:01:31.461328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 04:01:31.457560"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.462744"], ["updated_at", "2015-05-23 01:01:31.462744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:31.464514"], ["updated_at", "2015-05-23 01:01:31.464514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.466300"], ["updated_at", "2015-05-23 01:01:31.466300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.468021"], ["updated_at", "2015-05-23 01:01:31.468021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.469690"], ["updated_at", "2015-05-23 01:01:31.469690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:31.475823"], ["updated_at", "2015-05-23 01:01:31.475823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.478395"], ["updated_at", "2015-05-23 01:01:31.478395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.480519"], ["updated_at", "2015-05-23 01:01:31.480519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.483311"], ["updated_at", "2015-05-23 01:01:31.483311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:31.485049"], ["updated_at", "2015-05-23 01:01:31.485049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.486961"], ["updated_at", "2015-05-23 01:01:31.486961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.488658"], ["updated_at", "2015-05-23 01:01:31.488658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.490194"], ["updated_at", "2015-05-23 01:01:31.490194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:31.491721"], ["updated_at", "2015-05-23 01:01:31.491721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.493619"], ["updated_at", "2015-05-23 01:01:31.493619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-22 22:01:31.492384"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.495054"], ["updated_at", "2015-05-23 01:01:31.495054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-22 22:01:31.492384"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.496758"], ["updated_at", "2015-05-23 01:01:31.496758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.499550"], ["updated_at", "2015-05-23 01:01:31.499550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:31.500781"], ["updated_at", "2015-05-23 01:01:31.500781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.502711"], ["updated_at", "2015-05-23 01:01:31.502711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.504256"], ["updated_at", "2015-05-23 01:01:31.504256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:31.505890"], ["updated_at", "2015-05-23 01:01:31.505890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.508187"], ["updated_at", "2015-05-23 01:01:31.508187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.510097"], ["updated_at", "2015-05-23 01:01:31.510097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.511589"], ["updated_at", "2015-05-23 01:01:31.511589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.513921"], ["updated_at", "2015-05-23 01:01:31.513921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:31.514893"], ["updated_at", "2015-05-23 01:01:31.514893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.516587"], ["updated_at", "2015-05-23 01:01:31.516587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.517858"], ["updated_at", "2015-05-23 01:01:31.517858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 01:01:31.519454"], ["updated_at", "2015-05-23 01:01:31.519454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.521341"], ["updated_at", "2015-05-23 01:01:31.521341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.522765"], ["updated_at", "2015-05-23 01:01:31.522765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.524321"], ["updated_at", "2015-05-23 01:01:31.524321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.526114"], ["updated_at", "2015-05-23 01:01:31.526114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.527864"], ["updated_at", "2015-05-23 01:01:31.527864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 01:01:30.987590"], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.529429"], ["updated_at", "2015-05-23 01:01:31.529429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.531822"], ["updated_at", "2015-05-23 01:01:31.531822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.533575"], ["updated_at", "2015-05-23 01:01:31.533575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.534992"], ["updated_at", "2015-05-23 01:01:31.534992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.542511"], ["updated_at", "2015-05-23 01:01:31.542511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.544424"], ["updated_at", "2015-05-23 01:01:31.544424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 01:01:30.987590"], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.545894"], ["updated_at", "2015-05-23 01:01:31.545894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.548062"], ["updated_at", "2015-05-23 01:01:31.548062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.549785"], ["updated_at", "2015-05-23 01:01:31.549785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.551259"], ["updated_at", "2015-05-23 01:01:31.551259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.553221"], ["updated_at", "2015-05-23 01:01:31.553221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.556238"], ["updated_at", "2015-05-23 01:01:31.556238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.558067"], ["updated_at", "2015-05-23 01:01:31.558067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 01:01:30.987590"], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.559567"], ["updated_at", "2015-05-23 01:01:31.559567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.561603"], ["updated_at", "2015-05-23 01:01:31.561603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 01:01:31.560374"], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.562990"], ["updated_at", "2015-05-23 01:01:31.562990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.565141"], ["updated_at", "2015-05-23 01:01:31.565141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.566879"], ["updated_at", "2015-05-23 01:01:31.566879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.568855"], ["updated_at", "2015-05-23 01:01:31.568855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.575042"], ["updated_at", "2015-05-23 01:01:31.575042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.578186"], ["updated_at", "2015-05-23 01:01:31.578186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.581390"], ["updated_at", "2015-05-23 01:01:31.581390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.584130"], ["updated_at", "2015-05-23 01:01:31.584130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.586900"], ["updated_at", "2015-05-23 01:01:31.586900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.592861"], ["updated_at", "2015-05-23 01:01:31.592861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.596029"], ["updated_at", "2015-05-23 01:01:31.596029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.600528"], ["updated_at", "2015-05-23 01:01:31.600528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.8ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.612130"], ["updated_at", "2015-05-23 01:01:31.612130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.620053"], ["updated_at", "2015-05-23 01:01:31.620053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.6ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.628859"], ["updated_at", "2015-05-23 01:01:31.628859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.636052"], ["updated_at", "2015-05-23 01:01:31.636052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.641832"], ["updated_at", "2015-05-23 01:01:31.641832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.664214"], ["updated_at", "2015-05-23 01:01:31.664214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 01:01:31.661372"], ["created_at", "2015-05-23 01:01:31.666301"], ["updated_at", "2015-05-23 01:01:31.666301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.670125"], ["updated_at", "2015-05-23 01:01:31.670125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.673029"], ["updated_at", "2015-05-23 01:01:31.673029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.675440"], ["updated_at", "2015-05-23 01:01:31.675440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-23 01:01:31.679429"], ["updated_at", "2015-05-23 01:01:31.679429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-23 01:01:31.682034"], ["updated_at", "2015-05-23 01:01:31.682034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.683942"], ["updated_at", "2015-05-23 01:01:31.683942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.718561"], ["updated_at", "2015-05-23 01:01:31.718561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.738886"], ["updated_at", "2015-05-23 01:01:31.738886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.741323"], ["updated_at", "2015-05-23 01:01:31.741323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 01:01:31.742711"], ["current_period_start", "2015-05-23 01:01:31.742711"], ["current_period_end", "2015-06-23 01:01:31.742711"], ["created_at", "2015-05-23 01:01:31.743416"], ["updated_at", "2015-05-23 01:01:31.743416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.745078"], ["updated_at", "2015-05-23 01:01:31.745078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.746564"], ["updated_at", "2015-05-23 01:01:31.746564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 01:01:31.747691"], ["current_period_start", "2015-05-23 01:01:31.747691"], ["current_period_end", "2015-06-23 01:01:31.747691"], ["created_at", "2015-05-23 01:01:31.748363"], ["updated_at", "2015-05-23 01:01:31.748363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.750488"], ["updated_at", "2015-05-23 01:01:31.750488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.751979"], ["updated_at", "2015-05-23 01:01:31.751979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.754632"], ["updated_at", "2015-05-23 01:01:31.754632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-08 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.756400"], ["updated_at", "2015-05-23 01:01:31.756400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-08 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.759345"], ["updated_at", "2015-05-23 01:01:31.759345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 01:01:31.760270"], ["updated_at", "2015-05-23 01:01:31.760681"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 01:01:31.761371"], ["current_period_start", "2015-05-23 01:01:31.761371"], ["current_period_end", "2015-06-23 01:01:31.761371"], ["created_at", "2015-05-23 01:01:31.761931"], ["updated_at", "2015-05-23 01:01:31.761931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.764008"], ["updated_at", "2015-05-23 01:01:31.764008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.765535"], ["updated_at", "2015-05-23 01:01:31.765535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.767315"], ["updated_at", "2015-05-23 01:01:31.767315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.768638"], ["updated_at", "2015-05-23 01:01:31.768638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.771293"], ["updated_at", "2015-05-23 01:01:31.771293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 01:01:31.772142"], ["updated_at", "2015-05-23 01:01:31.772490"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 01:01:31.773109"], ["current_period_start", "2015-05-23 01:01:31.773109"], ["current_period_end", "2015-06-23 01:01:31.773109"], ["created_at", "2015-05-23 01:01:31.773677"], ["updated_at", "2015-05-23 01:01:31.773677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.775425"], ["updated_at", "2015-05-23 01:01:31.775425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.776859"], ["updated_at", "2015-05-23 01:01:31.776859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.778385"], ["updated_at", "2015-05-23 01:01:31.778385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.779811"], ["updated_at", "2015-05-23 01:01:31.779811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.782277"], ["updated_at", "2015-05-23 01:01:31.782277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 01:01:31.783601"], ["updated_at", "2015-05-23 01:01:31.784724"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 01:01:31.786065"], ["current_period_start", "2015-05-23 01:01:31.786065"], ["current_period_end", "2015-06-23 01:01:31.786065"], ["created_at", "2015-05-23 01:01:31.787209"], ["updated_at", "2015-05-23 01:01:31.787209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-23 01:01:31.789759"], ["updated_at", "2015-05-23 01:01:31.789759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.791319"], ["updated_at", "2015-05-23 01:01:31.791319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 01:01:31.792007"], ["current_period_start", "2015-05-23 01:01:31.792007"], ["current_period_end", "2015-06-23 01:01:31.792007"], ["created_at", "2015-05-23 01:01:31.792602"], ["updated_at", "2015-05-23 01:01:31.792602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.818666"], ["updated_at", "2015-05-23 01:01:31.818666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.821495"], ["updated_at", "2015-05-23 01:01:31.821495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.823466"], ["updated_at", "2015-05-23 01:01:31.823466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-08 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.824832"], ["updated_at", "2015-05-23 01:01:31.824832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-08 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.827399"], ["updated_at", "2015-05-23 01:01:31.827399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 01:01:31.828241"], ["updated_at", "2015-05-23 01:01:31.828624"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 01:01:31.830614"], ["updated_at", "2015-05-23 01:01:31.830614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.832018"], ["updated_at", "2015-05-23 01:01:31.832018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 01:01:31.833631"], ["updated_at", "2015-05-23 01:01:31.833631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 01:01:31.835035"], ["updated_at", "2015-05-23 01:01:31.835035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 01:01:31.837871"], ["updated_at", "2015-05-23 01:01:31.837871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 01:01:31.838703"], ["updated_at", "2015-05-23 01:01:31.839071"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:54.842906"], ["updated_at", "2015-05-23 15:48:54.842906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.855059"], ["updated_at", "2015-05-23 15:48:54.855059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.861494"], ["updated_at", "2015-05-23 15:48:54.861494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 15:48:54.659664"], ["owner_id", 1], ["created_at", "2015-05-23 15:48:54.867268"], ["updated_at", "2015-05-23 15:48:54.867268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:54.875198"], ["updated_at", "2015-05-23 15:48:54.875198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.877399"], ["updated_at", "2015-05-23 15:48:54.877399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:54.878897"], ["updated_at", "2015-05-23 15:48:54.878897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:54.887782"], ["updated_at", "2015-05-23 15:48:54.887782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 15:48:54.889097"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:54.894205"], ["updated_at", "2015-05-23 15:48:54.894205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.896605"], ["updated_at", "2015-05-23 15:48:54.896605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:54.898670"], ["updated_at", "2015-05-23 15:48:54.898670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:54.901312"], ["updated_at", "2015-05-23 15:48:54.901312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 15:48:54.902610"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:54.906288"], ["updated_at", "2015-05-23 15:48:54.906288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.908355"], ["updated_at", "2015-05-23 15:48:54.908355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:54.909872"], ["updated_at", "2015-05-23 15:48:54.909872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:54.912506"], ["updated_at", "2015-05-23 15:48:54.912506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 15:48:54.913664"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:54.915201"], ["updated_at", "2015-05-23 15:48:54.915201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.917267"], ["updated_at", "2015-05-23 15:48:54.917267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:54.918675"], ["updated_at", "2015-05-23 15:48:54.918675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:54.927585"], ["updated_at", "2015-05-23 15:48:54.927585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 15:48:54.928791"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:54.930281"], ["updated_at", "2015-05-23 15:48:54.930281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.932199"], ["updated_at", "2015-05-23 15:48:54.932199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:54.933991"], ["updated_at", "2015-05-23 15:48:54.933991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:54.936913"], ["updated_at", "2015-05-23 15:48:54.936913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 02:00:00.000000"], ["current_period_end", "2016-05-23 02:00:00.000000"], ["updated_at", "2015-05-23 15:48:54.938313"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:54.939988"], ["updated_at", "2015-05-23 15:48:54.939988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.942154"], ["updated_at", "2015-05-23 15:48:54.942154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-18 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-23 15:48:54.943663"], ["updated_at", "2015-05-23 15:48:54.943663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-18 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:54.946394"], ["updated_at", "2015-05-23 15:48:54.946394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-23 15:48:54.947541"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:54.948970"], ["updated_at", "2015-05-23 15:48:54.948970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.950500"], ["updated_at", "2015-05-23 15:48:54.950500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:54.952259"], ["updated_at", "2015-05-23 15:48:54.952259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:54.956071"], ["updated_at", "2015-05-23 15:48:54.956071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-23 06:00:00.000000"], ["current_period_end", "2015-06-23 06:00:00.000000"], ["updated_at", "2015-05-23 15:48:54.957445"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-23 15:48:54.959209"], ["updated_at", "2015-05-23 15:48:54.959209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.960999"], ["updated_at", "2015-05-23 15:48:54.960999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 15:48:54.961729"], ["current_period_start", "2015-05-23 15:48:54.961729"], ["current_period_end", "2015-06-23 15:48:54.961729"], ["created_at", "2015-05-23 15:48:54.962323"], ["updated_at", "2015-05-23 15:48:54.962323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:54.964684"], ["updated_at", "2015-05-23 15:48:54.964684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.966172"], ["updated_at", "2015-05-23 15:48:54.966172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.967861"], ["updated_at", "2015-05-23 15:48:54.967861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:54.969264"], ["updated_at", "2015-05-23 15:48:54.969264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:54.971991"], ["updated_at", "2015-05-23 15:48:54.971991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 15:48:54.972841"], ["updated_at", "2015-05-23 15:48:54.973221"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 15:48:54.973916"], ["current_period_start", "2015-05-23 15:48:54.973916"], ["current_period_end", "2015-06-23 15:48:54.973916"], ["created_at", "2015-05-23 15:48:54.974488"], ["updated_at", "2015-05-23 15:48:54.974488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:54.976437"], ["updated_at", "2015-05-23 15:48:54.976437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.977857"], ["updated_at", "2015-05-23 15:48:54.977857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.979600"], ["updated_at", "2015-05-23 15:48:54.979600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:54.981048"], ["updated_at", "2015-05-23 15:48:54.981048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:54.984133"], ["updated_at", "2015-05-23 15:48:54.984133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 15:48:54.985272"], ["updated_at", "2015-05-23 15:48:54.985740"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 15:48:54.986697"], ["current_period_start", "2015-05-23 15:48:54.986697"], ["current_period_end", "2015-06-23 15:48:54.986697"], ["created_at", "2015-05-23 15:48:54.987320"], ["updated_at", "2015-05-23 15:48:54.987320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:54.989341"], ["updated_at", "2015-05-23 15:48:54.989341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.991030"], ["updated_at", "2015-05-23 15:48:54.991030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:54.992853"], ["updated_at", "2015-05-23 15:48:54.992853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-08 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:54.994142"], ["updated_at", "2015-05-23 15:48:54.994142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-08 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:54.996713"], ["updated_at", "2015-05-23 15:48:54.996713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 15:48:54.997686"], ["updated_at", "2015-05-23 15:48:54.998059"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 15:48:54.998698"], ["current_period_start", "2015-05-23 15:48:54.998698"], ["current_period_end", "2015-06-23 15:48:54.998698"], ["created_at", "2015-05-23 15:48:54.999270"], ["updated_at", "2015-05-23 15:48:54.999270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:55.001318"], ["updated_at", "2015-05-23 15:48:55.001318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.002786"], ["updated_at", "2015-05-23 15:48:55.002786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 15:48:55.003904"], ["current_period_start", "2015-05-23 15:48:55.003904"], ["current_period_end", "2015-06-23 15:48:55.003904"], ["created_at", "2015-05-23 15:48:55.004489"], ["updated_at", "2015-05-23 15:48:55.004489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:55.006313"], ["updated_at", "2015-05-23 15:48:55.006313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.007685"], ["updated_at", "2015-05-23 15:48:55.007685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-23 15:48:55.008874"], ["current_period_start", "2015-05-23 15:48:55.008874"], ["current_period_end", "2015-06-23 15:48:55.008874"], ["created_at", "2015-05-23 15:48:55.009523"], ["updated_at", "2015-05-23 15:48:55.009523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:55.013211"], ["updated_at", "2015-05-23 15:48:55.013211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:55.015674"], ["updated_at", "2015-05-23 15:48:55.015674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.018019"], ["updated_at", "2015-05-23 15:48:55.018019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.019987"], ["updated_at", "2015-05-23 15:48:55.019987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:55.022039"], ["updated_at", "2015-05-23 15:48:55.022039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.023839"], ["updated_at", "2015-05-23 15:48:55.023839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 15:48:54.659664"], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.025291"], ["updated_at", "2015-05-23 15:48:55.025291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:55.027208"], ["updated_at", "2015-05-23 15:48:55.027208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.028929"], ["updated_at", "2015-05-23 15:48:55.028929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.030387"], ["updated_at", "2015-05-23 15:48:55.030387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:55.032495"], ["updated_at", "2015-05-23 15:48:55.032495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.034245"], ["updated_at", "2015-05-23 15:48:55.034245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 15:48:54.659664"], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.036040"], ["updated_at", "2015-05-23 15:48:55.036040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.038186"], ["updated_at", "2015-05-23 15:48:55.038186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-18 15:48:55.036810"], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.039799"], ["updated_at", "2015-05-23 15:48:55.039799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:55.042139"], ["updated_at", "2015-05-23 15:48:55.042139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.044082"], ["updated_at", "2015-05-23 15:48:55.044082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.050824"], ["updated_at", "2015-05-23 15:48:55.050824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:55.053350"], ["updated_at", "2015-05-23 15:48:55.053350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.055392"], ["updated_at", "2015-05-23 15:48:55.055392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 15:48:54.659664"], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.057072"], ["updated_at", "2015-05-23 15:48:55.057072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.089960"], ["updated_at", "2015-05-23 15:48:55.089960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-23 15:48:54.659664"], ["created_at", "2015-05-23 15:48:55.091659"], ["updated_at", "2015-05-23 15:48:55.091659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.094218"], ["updated_at", "2015-05-23 15:48:55.094218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 15:48:55.095357"], ["updated_at", "2015-05-23 15:48:55.095357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.097476"], ["updated_at", "2015-05-23 15:48:55.097476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:55.099062"], ["updated_at", "2015-05-23 15:48:55.099062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.101590"], ["updated_at", "2015-05-23 15:48:55.101590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 15:48:55.102782"], ["updated_at", "2015-05-23 15:48:55.102782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.104872"], ["updated_at", "2015-05-23 15:48:55.104872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:55.106518"], ["updated_at", "2015-05-23 15:48:55.106518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 15:48:55.109019"], ["updated_at", "2015-05-23 15:48:55.109019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.113115"], ["updated_at", "2015-05-23 15:48:55.113115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.115597"], ["updated_at", "2015-05-23 15:48:55.115597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:55.117790"], ["updated_at", "2015-05-23 15:48:55.117790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 15:48:55.120508"], ["updated_at", "2015-05-23 15:48:55.120508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.123004"], ["updated_at", "2015-05-23 15:48:55.123004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.125609"], ["updated_at", "2015-05-23 15:48:55.125609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:55.127799"], ["updated_at", "2015-05-23 15:48:55.127799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 15:48:55.130473"], ["updated_at", "2015-05-23 15:48:55.130473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.133836"], ["updated_at", "2015-05-23 15:48:55.133836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.136275"], ["updated_at", "2015-05-23 15:48:55.136275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:55.139242"], ["updated_at", "2015-05-23 15:48:55.139242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 15:48:55.142046"], ["updated_at", "2015-05-23 15:48:55.142046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.145042"], ["updated_at", "2015-05-23 15:48:55.145042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-23 12:48:55.143001"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.147233"], ["updated_at", "2015-05-23 15:48:55.147233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-23 12:48:55.143001"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:55.149509"], ["updated_at", "2015-05-23 15:48:55.149509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 15:48:55.151878"], ["updated_at", "2015-05-23 15:48:55.151878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.155507"], ["updated_at", "2015-05-23 15:48:55.155507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-23 18:48:55.152963"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.157905"], ["updated_at", "2015-05-23 15:48:55.157905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-23 18:48:55.152963"], ["status", "generated"], ["created_at", "2015-05-23 15:48:55.160164"], ["updated_at", "2015-05-23 15:48:55.160164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 15:48:55.171382"], ["updated_at", "2015-05-23 15:48:55.171382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.175540"], ["updated_at", "2015-05-23 15:48:55.175540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.178174"], ["updated_at", "2015-05-23 15:48:55.178174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:55.180280"], ["updated_at", "2015-05-23 15:48:55.180280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-23 15:48:55.182513"], ["updated_at", "2015-05-23 15:48:55.182513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.184830"], ["updated_at", "2015-05-23 15:48:55.184830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.186695"], ["updated_at", "2015-05-23 15:48:55.186695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:55.188435"], ["updated_at", "2015-05-23 15:48:55.188435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:55.190311"], ["updated_at", "2015-05-23 15:48:55.190311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.192109"], ["updated_at", "2015-05-23 15:48:55.192109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.194450"], ["updated_at", "2015-05-23 15:48:55.194450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.196387"], ["updated_at", "2015-05-23 15:48:55.196387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:55.207848"], ["updated_at", "2015-05-23 15:48:55.207848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 15:48:55.208803"], ["updated_at", "2015-05-23 15:48:55.209209"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-23 15:48:55.211305"], ["updated_at", "2015-05-23 15:48:55.211305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.213023"], ["updated_at", "2015-05-23 15:48:55.213023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.214858"], ["updated_at", "2015-05-23 15:48:55.214858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-08 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-23 15:48:55.216297"], ["updated_at", "2015-05-23 15:48:55.216297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-08 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-23 15:48:55.218849"], ["updated_at", "2015-05-23 15:48:55.218849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 15:48:55.219652"], ["updated_at", "2015-05-23 15:48:55.220065"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.241209"], ["updated_at", "2015-05-23 15:48:55.241209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-23 15:48:55.246421"], ["updated_at", "2015-05-23 15:48:55.246421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-23 15:48:55.247938"], ["updated_at", "2015-05-23 15:48:55.247938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.249219"], ["updated_at", "2015-05-23 15:48:55.249219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.251610"], ["updated_at", "2015-05-23 15:48:55.251610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.253007"], ["updated_at", "2015-05-23 15:48:55.253007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.254245"], ["updated_at", "2015-05-23 15:48:55.254245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.256718"], ["updated_at", "2015-05-23 15:48:55.256718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.259044"], ["updated_at", "2015-05-23 15:48:55.259044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.262289"], ["updated_at", "2015-05-23 15:48:55.262289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.265793"], ["updated_at", "2015-05-23 15:48:55.265793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.268416"], ["updated_at", "2015-05-23 15:48:55.268416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.272065"], ["updated_at", "2015-05-23 15:48:55.272065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.274977"], ["updated_at", "2015-05-23 15:48:55.274977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.277534"], ["updated_at", "2015-05-23 15:48:55.277534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.281287"], ["updated_at", "2015-05-23 15:48:55.281287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.283931"], ["updated_at", "2015-05-23 15:48:55.283931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.286314"], ["updated_at", "2015-05-23 15:48:55.286314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.288917"], ["updated_at", "2015-05-23 15:48:55.288917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 15:48:55.288008"], ["created_at", "2015-05-23 15:48:55.290184"], ["updated_at", "2015-05-23 15:48:55.290184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.299282"], ["updated_at", "2015-05-23 15:48:55.299282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.301894"], ["updated_at", "2015-05-23 15:48:55.301894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.304224"], ["updated_at", "2015-05-23 15:48:55.304224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-23 15:48:55.305450"], ["updated_at", "2015-05-23 15:48:55.305450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-23 15:48:55.306164"], ["updated_at", "2015-05-23 15:48:55.306467"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-23 15:48:55.308520"], ["updated_at", "2015-05-23 15:48:55.308520"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 15:48:55.307443"], ["created_at", "2015-05-23 15:48:55.309937"], ["updated_at", "2015-05-23 15:48:55.309937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.580452"], ["updated_at", "2015-05-24 03:13:45.580452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.596302"], ["updated_at", "2015-05-24 03:13:45.596302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.602251"], ["updated_at", "2015-05-24 03:13:45.602251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.609787"], ["updated_at", "2015-05-24 03:13:45.609787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.612056"], ["updated_at", "2015-05-24 03:13:45.612056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-24 03:13:45.392854"], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.613545"], ["updated_at", "2015-05-24 03:13:45.613545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.616071"], ["updated_at", "2015-05-24 03:13:45.616071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.617815"], ["updated_at", "2015-05-24 03:13:45.617815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.620283"], ["updated_at", "2015-05-24 03:13:45.620283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-24 03:13:45.392854"], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.621927"], ["updated_at", "2015-05-24 03:13:45.621927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.624002"], ["updated_at", "2015-05-24 03:13:45.624002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.625724"], ["updated_at", "2015-05-24 03:13:45.625724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.627203"], ["updated_at", "2015-05-24 03:13:45.627203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.629167"], ["updated_at", "2015-05-24 03:13:45.629167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.631513"], ["updated_at", "2015-05-24 03:13:45.631513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-24 03:13:45.392854"], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.633403"], ["updated_at", "2015-05-24 03:13:45.633403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.635650"], ["updated_at", "2015-05-24 03:13:45.635650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 03:13:45.634246"], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.637113"], ["updated_at", "2015-05-24 03:13:45.637113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.639322"], ["updated_at", "2015-05-24 03:13:45.639322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.641040"], ["updated_at", "2015-05-24 03:13:45.641040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.642450"], ["updated_at", "2015-05-24 03:13:45.642450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.646456"], ["updated_at", "2015-05-24 03:13:45.646456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.648327"], ["updated_at", "2015-05-24 03:13:45.648327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-24 03:13:45.649466"], ["current_period_start", "2015-05-24 03:13:45.649466"], ["current_period_end", "2015-06-24 03:13:45.649466"], ["created_at", "2015-05-24 03:13:45.650106"], ["updated_at", "2015-05-24 03:13:45.650106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.651560"], ["updated_at", "2015-05-24 03:13:45.651560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.652979"], ["updated_at", "2015-05-24 03:13:45.652979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-24 03:13:45.654201"], ["current_period_start", "2015-05-24 03:13:45.654201"], ["current_period_end", "2015-06-24 03:13:45.654201"], ["created_at", "2015-05-24 03:13:45.654835"], ["updated_at", "2015-05-24 03:13:45.654835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.657734"], ["updated_at", "2015-05-24 03:13:45.657734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.659153"], ["updated_at", "2015-05-24 03:13:45.659153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.666645"], ["updated_at", "2015-05-24 03:13:45.666645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.668322"], ["updated_at", "2015-05-24 03:13:45.668322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.676752"], ["updated_at", "2015-05-24 03:13:45.676752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-24 03:13:45.677721"], ["updated_at", "2015-05-24 03:13:45.678135"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-24 03:13:45.680652"], ["current_period_start", "2015-05-24 03:13:45.680652"], ["current_period_end", "2015-06-24 03:13:45.680652"], ["created_at", "2015-05-24 03:13:45.681245"], ["updated_at", "2015-05-24 03:13:45.681245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.683147"], ["updated_at", "2015-05-24 03:13:45.683147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.684779"], ["updated_at", "2015-05-24 03:13:45.684779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.686516"], ["updated_at", "2015-05-24 03:13:45.686516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-09 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.687856"], ["updated_at", "2015-05-24 03:13:45.687856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-09 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.690348"], ["updated_at", "2015-05-24 03:13:45.690348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-24 03:13:45.691370"], ["updated_at", "2015-05-24 03:13:45.692079"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-24 03:13:45.692830"], ["current_period_start", "2015-05-24 03:13:45.692830"], ["current_period_end", "2015-06-24 03:13:45.692830"], ["created_at", "2015-05-24 03:13:45.693480"], ["updated_at", "2015-05-24 03:13:45.693480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.697014"], ["updated_at", "2015-05-24 03:13:45.697014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.698616"], ["updated_at", "2015-05-24 03:13:45.698616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.700353"], ["updated_at", "2015-05-24 03:13:45.700353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.701686"], ["updated_at", "2015-05-24 03:13:45.701686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.704446"], ["updated_at", "2015-05-24 03:13:45.704446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-24 03:13:45.705295"], ["updated_at", "2015-05-24 03:13:45.705704"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-24 03:13:45.706410"], ["current_period_start", "2015-05-24 03:13:45.706410"], ["current_period_end", "2015-06-24 03:13:45.706410"], ["created_at", "2015-05-24 03:13:45.706968"], ["updated_at", "2015-05-24 03:13:45.706968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.708964"], ["updated_at", "2015-05-24 03:13:45.708964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.710573"], ["updated_at", "2015-05-24 03:13:45.710573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.712347"], ["updated_at", "2015-05-24 03:13:45.712347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-09 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.713628"], ["updated_at", "2015-05-24 03:13:45.713628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-09 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.716168"], ["updated_at", "2015-05-24 03:13:45.716168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-24 03:13:45.716983"], ["updated_at", "2015-05-24 03:13:45.717341"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.719695"], ["updated_at", "2015-05-24 03:13:45.719695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.721212"], ["updated_at", "2015-05-24 03:13:45.721212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.723416"], ["updated_at", "2015-05-24 03:13:45.723416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.725163"], ["updated_at", "2015-05-24 03:13:45.725163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.728172"], ["updated_at", "2015-05-24 03:13:45.728172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-24 03:13:45.728987"], ["updated_at", "2015-05-24 03:13:45.729363"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-24 03:13:45.732124"], ["updated_at", "2015-05-24 03:13:45.732124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-24 03:13:45.733491"], ["updated_at", "2015-05-24 03:13:45.733491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.734808"], ["updated_at", "2015-05-24 03:13:45.734808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.737117"], ["updated_at", "2015-05-24 03:13:45.737117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.738573"], ["updated_at", "2015-05-24 03:13:45.738573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.739917"], ["updated_at", "2015-05-24 03:13:45.739917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.747920"], ["updated_at", "2015-05-24 03:13:45.747920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-24 03:13:45.765964"], ["updated_at", "2015-05-24 03:13:45.765964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.767554"], ["updated_at", "2015-05-24 03:13:45.767554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-24 03:13:45.772349"], ["current_period_start", "2015-05-24 03:13:45.772349"], ["current_period_end", "2015-06-24 03:13:45.772349"], ["created_at", "2015-05-24 03:13:45.773127"], ["updated_at", "2015-05-24 03:13:45.773127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.776365"], ["updated_at", "2015-05-24 03:13:45.776365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.779373"], ["updated_at", "2015-05-24 03:13:45.779373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.781753"], ["updated_at", "2015-05-24 03:13:45.781753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.784622"], ["updated_at", "2015-05-24 03:13:45.784622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.787935"], ["updated_at", "2015-05-24 03:13:45.787935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.792778"], ["updated_at", "2015-05-24 03:13:45.792778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.796046"], ["updated_at", "2015-05-24 03:13:45.796046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.798969"], ["updated_at", "2015-05-24 03:13:45.798969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.801748"], ["updated_at", "2015-05-24 03:13:45.801748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.804743"], ["updated_at", "2015-05-24 03:13:45.804743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.808242"], ["updated_at", "2015-05-24 03:13:45.808242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.810094"], ["updated_at", "2015-05-24 03:13:45.810094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.811732"], ["updated_at", "2015-05-24 03:13:45.811732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.813753"], ["updated_at", "2015-05-24 03:13:45.813753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.817672"], ["updated_at", "2015-05-24 03:13:45.817672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 02:00:00.000000"], ["current_period_end", "2016-05-24 02:00:00.000000"], ["updated_at", "2015-05-24 03:13:45.819103"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.820983"], ["updated_at", "2015-05-24 03:13:45.820983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.823029"], ["updated_at", "2015-05-24 03:13:45.823029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-19 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.824586"], ["updated_at", "2015-05-24 03:13:45.824586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-19 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.827406"], ["updated_at", "2015-05-24 03:13:45.827406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-24 03:13:45.828822"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.830436"], ["updated_at", "2015-05-24 03:13:45.830436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.834178"], ["updated_at", "2015-05-24 03:13:45.834178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-19 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.836317"], ["updated_at", "2015-05-24 03:13:45.836317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-19 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.840332"], ["updated_at", "2015-05-24 03:13:45.840332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-24 03:13:45.842173"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.845230"], ["updated_at", "2015-05-24 03:13:45.845230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.848640"], ["updated_at", "2015-05-24 03:13:45.848640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.851733"], ["updated_at", "2015-05-24 03:13:45.851733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.855431"], ["updated_at", "2015-05-24 03:13:45.855431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 06:00:00.000000"], ["current_period_end", "2015-06-24 06:00:00.000000"], ["updated_at", "2015-05-24 03:13:45.857202"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.859089"], ["updated_at", "2015-05-24 03:13:45.859089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.862314"], ["updated_at", "2015-05-24 03:13:45.862314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-19 00:00:00.000000"], ["current_period_end", "2015-05-24 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.864731"], ["updated_at", "2015-05-24 03:13:45.864731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-19 00:00:00.000000"], ["period_end", "2015-05-24 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.868886"], ["updated_at", "2015-05-24 03:13:45.868886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 06:00:00.000000"], ["current_period_end", "2015-06-24 06:00:00.000000"], ["updated_at", "2015-05-24 03:13:45.870859"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.873121"], ["updated_at", "2015-05-24 03:13:45.873121"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.876506"], ["updated_at", "2015-05-24 03:13:45.876506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.879342"], ["updated_at", "2015-05-24 03:13:45.879342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.884183"], ["updated_at", "2015-05-24 03:13:45.884183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-24 03:13:45.886071"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.888866"], ["updated_at", "2015-05-24 03:13:45.888866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.891511"], ["updated_at", "2015-05-24 03:13:45.891511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.894902"], ["updated_at", "2015-05-24 03:13:45.894902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.4ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.898590"], ["updated_at", "2015-05-24 03:13:45.898590"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-24 03:13:45.900077"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:13:45.902544"], ["updated_at", "2015-05-24 03:13:45.902544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.904294"], ["updated_at", "2015-05-24 03:13:45.904294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.906902"], ["updated_at", "2015-05-24 03:13:45.906902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-24 03:13:45.392854"], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.909177"], ["updated_at", "2015-05-24 03:13:45.909177"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.913388"], ["updated_at", "2015-05-24 03:13:45.913388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-24 03:13:45.392854"], ["created_at", "2015-05-24 03:13:45.915049"], ["updated_at", "2015-05-24 03:13:45.915049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:13:45.917026"], ["updated_at", "2015-05-24 03:13:45.917026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.926307"], ["updated_at", "2015-05-24 03:13:45.926307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.928025"], ["updated_at", "2015-05-24 03:13:45.928025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.929411"], ["updated_at", "2015-05-24 03:13:45.929411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:13:45.930894"], ["updated_at", "2015-05-24 03:13:45.930894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.932691"], ["updated_at", "2015-05-24 03:13:45.932691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-24 00:13:45.931492"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.934012"], ["updated_at", "2015-05-24 03:13:45.934012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-24 00:13:45.931492"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.935283"], ["updated_at", "2015-05-24 03:13:45.935283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:13:45.937173"], ["updated_at", "2015-05-24 03:13:45.937173"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.939257"], ["updated_at", "2015-05-24 03:13:45.939257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.940857"], ["updated_at", "2015-05-24 03:13:45.940857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.942196"], ["updated_at", "2015-05-24 03:13:45.942196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:13:45.948317"], ["updated_at", "2015-05-24 03:13:45.948317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.950504"], ["updated_at", "2015-05-24 03:13:45.950504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.952159"], ["updated_at", "2015-05-24 03:13:45.952159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.953674"], ["updated_at", "2015-05-24 03:13:45.953674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:13:45.955693"], ["updated_at", "2015-05-24 03:13:45.955693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.957905"], ["updated_at", "2015-05-24 03:13:45.957905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.959490"], ["updated_at", "2015-05-24 03:13:45.959490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.961008"], ["updated_at", "2015-05-24 03:13:45.961008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:13:45.962578"], ["updated_at", "2015-05-24 03:13:45.962578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.964345"], ["updated_at", "2015-05-24 03:13:45.964345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 06:13:45.963178"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.965655"], ["updated_at", "2015-05-24 03:13:45.965655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 06:13:45.963178"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.967446"], ["updated_at", "2015-05-24 03:13:45.967446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.969595"], ["updated_at", "2015-05-24 03:13:45.969595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:13:45.970646"], ["updated_at", "2015-05-24 03:13:45.970646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.972631"], ["updated_at", "2015-05-24 03:13:45.972631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.974027"], ["updated_at", "2015-05-24 03:13:45.974027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.976233"], ["updated_at", "2015-05-24 03:13:45.976233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:13:45.977216"], ["updated_at", "2015-05-24 03:13:45.977216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.978915"], ["updated_at", "2015-05-24 03:13:45.978915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.980255"], ["updated_at", "2015-05-24 03:13:45.980255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:13:45.981659"], ["updated_at", "2015-05-24 03:13:45.981659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.983282"], ["updated_at", "2015-05-24 03:13:45.983282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:13:45.984688"], ["updated_at", "2015-05-24 03:13:45.984688"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:13:45.986020"], ["updated_at", "2015-05-24 03:13:45.986020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.988590"], ["updated_at", "2015-05-24 03:13:45.988590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 03:13:45.987469"], ["created_at", "2015-05-24 03:13:45.989834"], ["updated_at", "2015-05-24 03:13:45.989834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:45.991911"], ["updated_at", "2015-05-24 03:13:45.991911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-24 03:13:45.993171"], ["updated_at", "2015-05-24 03:13:45.993171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-24 03:13:45.993873"], ["updated_at", "2015-05-24 03:13:45.994235"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:46.000763"], ["updated_at", "2015-05-24 03:13:46.000763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:46.003368"], ["updated_at", "2015-05-24 03:13:46.003368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:13:46.008449"], ["updated_at", "2015-05-24 03:13:46.008449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 03:13:46.007485"], ["created_at", "2015-05-24 03:13:46.009750"], ["updated_at", "2015-05-24 03:13:46.009750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.357420"], ["updated_at", "2015-05-24 03:23:07.357420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-24 03:23:07.168608"], ["created_at", "2015-05-24 03:23:07.362295"], ["updated_at", "2015-05-24 03:23:07.362295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:23:07.366714"], ["updated_at", "2015-05-24 03:23:07.366714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.369280"], ["updated_at", "2015-05-24 03:23:07.369280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.371325"], ["updated_at", "2015-05-24 03:23:07.371325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.378500"], ["updated_at", "2015-05-24 03:23:07.378500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:23:07.380865"], ["updated_at", "2015-05-24 03:23:07.380865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.382765"], ["updated_at", "2015-05-24 03:23:07.382765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.384251"], ["updated_at", "2015-05-24 03:23:07.384251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.385554"], ["updated_at", "2015-05-24 03:23:07.385554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.388091"], ["updated_at", "2015-05-24 03:23:07.388091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:23:07.389059"], ["updated_at", "2015-05-24 03:23:07.389059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.390706"], ["updated_at", "2015-05-24 03:23:07.390706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.392044"], ["updated_at", "2015-05-24 03:23:07.392044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:23:07.393409"], ["updated_at", "2015-05-24 03:23:07.393409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.397122"], ["updated_at", "2015-05-24 03:23:07.397122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.398986"], ["updated_at", "2015-05-24 03:23:07.398986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.400399"], ["updated_at", "2015-05-24 03:23:07.400399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.402565"], ["updated_at", "2015-05-24 03:23:07.402565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:23:07.403492"], ["updated_at", "2015-05-24 03:23:07.403492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.405453"], ["updated_at", "2015-05-24 03:23:07.405453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.406782"], ["updated_at", "2015-05-24 03:23:07.406782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:23:07.408268"], ["updated_at", "2015-05-24 03:23:07.408268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.409951"], ["updated_at", "2015-05-24 03:23:07.409951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.411609"], ["updated_at", "2015-05-24 03:23:07.411609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.413245"], ["updated_at", "2015-05-24 03:23:07.413245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:23:07.418768"], ["updated_at", "2015-05-24 03:23:07.418768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.426330"], ["updated_at", "2015-05-24 03:23:07.426330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.428174"], ["updated_at", "2015-05-24 03:23:07.428174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.429818"], ["updated_at", "2015-05-24 03:23:07.429818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:23:07.431453"], ["updated_at", "2015-05-24 03:23:07.431453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.433345"], ["updated_at", "2015-05-24 03:23:07.433345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 06:23:07.432121"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.434658"], ["updated_at", "2015-05-24 03:23:07.434658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 06:23:07.432121"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.436045"], ["updated_at", "2015-05-24 03:23:07.436045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-24 03:23:07.437459"], ["updated_at", "2015-05-24 03:23:07.437459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.439135"], ["updated_at", "2015-05-24 03:23:07.439135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-24 00:23:07.438043"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.440495"], ["updated_at", "2015-05-24 03:23:07.440495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-24 00:23:07.438043"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.441789"], ["updated_at", "2015-05-24 03:23:07.441789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.444392"], ["updated_at", "2015-05-24 03:23:07.444392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 03:23:07.443006"], ["created_at", "2015-05-24 03:23:07.445687"], ["updated_at", "2015-05-24 03:23:07.445687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.447714"], ["updated_at", "2015-05-24 03:23:07.447714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-24 03:23:07.449001"], ["updated_at", "2015-05-24 03:23:07.449001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-24 03:23:07.449729"], ["updated_at", "2015-05-24 03:23:07.450029"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.453609"], ["updated_at", "2015-05-24 03:23:07.453609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.455357"], ["updated_at", "2015-05-24 03:23:07.455357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.458017"], ["updated_at", "2015-05-24 03:23:07.458017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.466425"], ["updated_at", "2015-05-24 03:23:07.466425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 06:00:00.000000"], ["current_period_end", "2015-06-24 06:00:00.000000"], ["updated_at", "2015-05-24 03:23:07.467690"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.469323"], ["updated_at", "2015-05-24 03:23:07.469323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.471186"], ["updated_at", "2015-05-24 03:23:07.471186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-19 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.472614"], ["updated_at", "2015-05-24 03:23:07.472614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-19 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.475073"], ["updated_at", "2015-05-24 03:23:07.475073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-24 03:23:07.476218"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.477727"], ["updated_at", "2015-05-24 03:23:07.477727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.479496"], ["updated_at", "2015-05-24 03:23:07.479496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-19 00:00:00.000000"], ["current_period_end", "2015-05-24 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.480824"], ["updated_at", "2015-05-24 03:23:07.480824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-19 00:00:00.000000"], ["period_end", "2015-05-24 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.483255"], ["updated_at", "2015-05-24 03:23:07.483255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 06:00:00.000000"], ["current_period_end", "2015-06-24 06:00:00.000000"], ["updated_at", "2015-05-24 03:23:07.484393"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.485981"], ["updated_at", "2015-05-24 03:23:07.485981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.488224"], ["updated_at", "2015-05-24 03:23:07.488224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.490355"], ["updated_at", "2015-05-24 03:23:07.490355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.492970"], ["updated_at", "2015-05-24 03:23:07.492970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-24 03:23:07.494360"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.497672"], ["updated_at", "2015-05-24 03:23:07.497672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.499510"], ["updated_at", "2015-05-24 03:23:07.499510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.500972"], ["updated_at", "2015-05-24 03:23:07.500972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.503476"], ["updated_at", "2015-05-24 03:23:07.503476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-24 03:23:07.504693"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.506567"], ["updated_at", "2015-05-24 03:23:07.506567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.508425"], ["updated_at", "2015-05-24 03:23:07.508425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-19 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.509800"], ["updated_at", "2015-05-24 03:23:07.509800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-19 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.512383"], ["updated_at", "2015-05-24 03:23:07.512383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-24 03:23:07.513538"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.514922"], ["updated_at", "2015-05-24 03:23:07.514922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.517249"], ["updated_at", "2015-05-24 03:23:07.517249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.519549"], ["updated_at", "2015-05-24 03:23:07.519549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.522522"], ["updated_at", "2015-05-24 03:23:07.522522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 02:00:00.000000"], ["current_period_end", "2016-05-24 02:00:00.000000"], ["updated_at", "2015-05-24 03:23:07.523774"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.525486"], ["updated_at", "2015-05-24 03:23:07.525486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.527148"], ["updated_at", "2015-05-24 03:23:07.527148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.529323"], ["updated_at", "2015-05-24 03:23:07.529323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-24 03:23:07.168608"], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.531168"], ["updated_at", "2015-05-24 03:23:07.531168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.534678"], ["updated_at", "2015-05-24 03:23:07.534678"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.536840"], ["updated_at", "2015-05-24 03:23:07.536840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (4.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.538536"], ["updated_at", "2015-05-24 03:23:07.538536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.555479"], ["updated_at", "2015-05-24 03:23:07.555479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-24 03:23:07.573434"], ["updated_at", "2015-05-24 03:23:07.573434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-24 03:23:07.574954"], ["updated_at", "2015-05-24 03:23:07.574954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.576572"], ["updated_at", "2015-05-24 03:23:07.576572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.579376"], ["updated_at", "2015-05-24 03:23:07.579376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.581914"], ["updated_at", "2015-05-24 03:23:07.581914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-24 03:23:07.168608"], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.583734"], ["updated_at", "2015-05-24 03:23:07.583734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.586001"], ["updated_at", "2015-05-24 03:23:07.586001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.587849"], ["updated_at", "2015-05-24 03:23:07.587849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.589857"], ["updated_at", "2015-05-24 03:23:07.589857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.591406"], ["updated_at", "2015-05-24 03:23:07.591406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.594843"], ["updated_at", "2015-05-24 03:23:07.594843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.596835"], ["updated_at", "2015-05-24 03:23:07.596835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-24 03:23:07.168608"], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.598468"], ["updated_at", "2015-05-24 03:23:07.598468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.602015"], ["updated_at", "2015-05-24 03:23:07.602015"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-19 03:23:07.599273"], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.604496"], ["updated_at", "2015-05-24 03:23:07.604496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.607611"], ["updated_at", "2015-05-24 03:23:07.607611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.612135"], ["updated_at", "2015-05-24 03:23:07.612135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.615752"], ["updated_at", "2015-05-24 03:23:07.615752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.621513"], ["updated_at", "2015-05-24 03:23:07.621513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.625350"], ["updated_at", "2015-05-24 03:23:07.625350"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-24 03:23:07.168608"], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.628208"], ["updated_at", "2015-05-24 03:23:07.628208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.631173"], ["updated_at", "2015-05-24 03:23:07.631173"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.634047"], ["updated_at", "2015-05-24 03:23:07.634047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.636027"], ["updated_at", "2015-05-24 03:23:07.636027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-24 03:23:07.680246"], ["updated_at", "2015-05-24 03:23:07.680246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.682458"], ["updated_at", "2015-05-24 03:23:07.682458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-24 03:23:07.683528"], ["current_period_start", "2015-05-24 03:23:07.683528"], ["current_period_end", "2015-06-24 03:23:07.683528"], ["created_at", "2015-05-24 03:23:07.684227"], ["updated_at", "2015-05-24 03:23:07.684227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.696177"], ["updated_at", "2015-05-24 03:23:07.696177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.698802"], ["updated_at", "2015-05-24 03:23:07.698802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.703653"], ["updated_at", "2015-05-24 03:23:07.703653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-21 03:23:07.702356"], ["created_at", "2015-05-24 03:23:07.705188"], ["updated_at", "2015-05-24 03:23:07.705188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.712511"], ["updated_at", "2015-05-24 03:23:07.712511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.715555"], ["updated_at", "2015-05-24 03:23:07.715555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.718176"], ["updated_at", "2015-05-24 03:23:07.718176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.720856"], ["updated_at", "2015-05-24 03:23:07.720856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.723373"], ["updated_at", "2015-05-24 03:23:07.723373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.726519"], ["updated_at", "2015-05-24 03:23:07.726519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.729465"], ["updated_at", "2015-05-24 03:23:07.729465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.734289"], ["updated_at", "2015-05-24 03:23:07.734289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.737240"], ["updated_at", "2015-05-24 03:23:07.737240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.739681"], ["updated_at", "2015-05-24 03:23:07.739681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.741979"], ["updated_at", "2015-05-24 03:23:07.741979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.744016"], ["updated_at", "2015-05-24 03:23:07.744016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.745473"], ["updated_at", "2015-05-24 03:23:07.745473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.747202"], ["updated_at", "2015-05-24 03:23:07.747202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-09 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.748521"], ["updated_at", "2015-05-24 03:23:07.748521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-09 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.751108"], ["updated_at", "2015-05-24 03:23:07.751108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-24 03:23:07.751968"], ["updated_at", "2015-05-24 03:23:07.752335"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.754278"], ["updated_at", "2015-05-24 03:23:07.754278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.755632"], ["updated_at", "2015-05-24 03:23:07.755632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.757250"], ["updated_at", "2015-05-24 03:23:07.757250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.758571"], ["updated_at", "2015-05-24 03:23:07.758571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.761244"], ["updated_at", "2015-05-24 03:23:07.761244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-24 03:23:07.762672"], ["updated_at", "2015-05-24 03:23:07.763057"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.765724"], ["updated_at", "2015-05-24 03:23:07.765724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.767258"], ["updated_at", "2015-05-24 03:23:07.767258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-24 03:23:07.768448"], ["current_period_start", "2015-05-24 03:23:07.768448"], ["current_period_end", "2015-06-24 03:23:07.768448"], ["created_at", "2015-05-24 03:23:07.769082"], ["updated_at", "2015-05-24 03:23:07.769082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.770511"], ["updated_at", "2015-05-24 03:23:07.770511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.771976"], ["updated_at", "2015-05-24 03:23:07.771976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-24 03:23:07.773056"], ["current_period_start", "2015-05-24 03:23:07.773056"], ["current_period_end", "2015-06-24 03:23:07.773056"], ["created_at", "2015-05-24 03:23:07.773621"], ["updated_at", "2015-05-24 03:23:07.773621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.775643"], ["updated_at", "2015-05-24 03:23:07.775643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.777322"], ["updated_at", "2015-05-24 03:23:07.777322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.779033"], ["updated_at", "2015-05-24 03:23:07.779033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-09 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.780331"], ["updated_at", "2015-05-24 03:23:07.780331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-09 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.782808"], ["updated_at", "2015-05-24 03:23:07.782808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-24 03:23:07.783575"], ["updated_at", "2015-05-24 03:23:07.783964"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-24 03:23:07.784585"], ["current_period_start", "2015-05-24 03:23:07.784585"], ["current_period_end", "2015-06-24 03:23:07.784585"], ["created_at", "2015-05-24 03:23:07.785127"], ["updated_at", "2015-05-24 03:23:07.785127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.786926"], ["updated_at", "2015-05-24 03:23:07.786926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.788327"], ["updated_at", "2015-05-24 03:23:07.788327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.789936"], ["updated_at", "2015-05-24 03:23:07.789936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.791222"], ["updated_at", "2015-05-24 03:23:07.791222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.794788"], ["updated_at", "2015-05-24 03:23:07.794788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-24 03:23:07.795934"], ["updated_at", "2015-05-24 03:23:07.796415"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-24 03:23:07.797166"], ["current_period_start", "2015-05-24 03:23:07.797166"], ["current_period_end", "2015-06-24 03:23:07.797166"], ["created_at", "2015-05-24 03:23:07.797772"], ["updated_at", "2015-05-24 03:23:07.797772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-24 03:23:07.799803"], ["updated_at", "2015-05-24 03:23:07.799803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.801309"], ["updated_at", "2015-05-24 03:23:07.801309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-24 03:23:07.802993"], ["updated_at", "2015-05-24 03:23:07.802993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-24 03:23:07.804328"], ["updated_at", "2015-05-24 03:23:07.804328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-24 03:23:07.806794"], ["updated_at", "2015-05-24 03:23:07.806794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-24 03:23:07.807578"], ["updated_at", "2015-05-24 03:23:07.807975"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-24 03:23:07.808595"], ["current_period_start", "2015-05-24 03:23:07.808595"], ["current_period_end", "2015-06-24 03:23:07.808595"], ["created_at", "2015-05-24 03:23:07.809115"], ["updated_at", "2015-05-24 03:23:07.809115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.120456"], ["updated_at", "2015-05-25 16:28:40.120456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.126979"], ["updated_at", "2015-05-25 16:28:40.126979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.156994"], ["updated_at", "2015-05-25 16:28:40.156994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.160710"], ["updated_at", "2015-05-25 16:28:40.160710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.163498"], ["updated_at", "2015-05-25 16:28:40.163498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.166551"], ["updated_at", "2015-05-25 16:28:40.166551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.169725"], ["updated_at", "2015-05-25 16:28:40.169725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.173118"], ["updated_at", "2015-05-25 16:28:40.173118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.175835"], ["updated_at", "2015-05-25 16:28:40.175835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.178368"], ["updated_at", "2015-05-25 16:28:40.178368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.180611"], ["updated_at", "2015-05-25 16:28:40.180611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.185638"], ["updated_at", "2015-05-25 16:28:40.185638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 16:28:40.187186"], ["updated_at", "2015-05-25 16:28:40.187186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 16:28:40.188043"], ["updated_at", "2015-05-25 16:28:40.188372"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.208263"], ["updated_at", "2015-05-25 16:28:40.208263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 16:28:40.206545"], ["created_at", "2015-05-25 16:28:40.209827"], ["updated_at", "2015-05-25 16:28:40.209827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.239481"], ["updated_at", "2015-05-25 16:28:40.239481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.242751"], ["updated_at", "2015-05-25 16:28:40.242751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.244235"], ["updated_at", "2015-05-25 16:28:40.244235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.245599"], ["updated_at", "2015-05-25 16:28:40.245599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 16:28:40.250206"], ["updated_at", "2015-05-25 16:28:40.250206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 16:28:40.252642"], ["updated_at", "2015-05-25 16:28:40.252642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.254322"], ["updated_at", "2015-05-25 16:28:40.254322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 16:28:40.258622"], ["updated_at", "2015-05-25 16:28:40.258622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.260477"], ["updated_at", "2015-05-25 16:28:40.260477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 16:28:40.261164"], ["current_period_start", "2015-05-25 16:28:40.261164"], ["current_period_end", "2015-06-25 16:28:40.261164"], ["created_at", "2015-05-25 16:28:40.262357"], ["updated_at", "2015-05-25 16:28:40.262357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.264273"], ["updated_at", "2015-05-25 16:28:40.264273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.266128"], ["updated_at", "2015-05-25 16:28:40.266128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.267905"], ["updated_at", "2015-05-25 16:28:40.267905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.269343"], ["updated_at", "2015-05-25 16:28:40.269343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.284796"], ["updated_at", "2015-05-25 16:28:40.284796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 16:28:40.286186"], ["updated_at", "2015-05-25 16:28:40.286673"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 16:28:40.287431"], ["current_period_start", "2015-05-25 16:28:40.287431"], ["current_period_end", "2015-06-25 16:28:40.287431"], ["created_at", "2015-05-25 16:28:40.288045"], ["updated_at", "2015-05-25 16:28:40.288045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.290204"], ["updated_at", "2015-05-25 16:28:40.290204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.291893"], ["updated_at", "2015-05-25 16:28:40.291893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.293783"], ["updated_at", "2015-05-25 16:28:40.293783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.295154"], ["updated_at", "2015-05-25 16:28:40.295154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.298004"], ["updated_at", "2015-05-25 16:28:40.298004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 16:28:40.299065"], ["updated_at", "2015-05-25 16:28:40.299481"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 16:28:40.300169"], ["current_period_start", "2015-05-25 16:28:40.300169"], ["current_period_end", "2015-06-25 16:28:40.300169"], ["created_at", "2015-05-25 16:28:40.300706"], ["updated_at", "2015-05-25 16:28:40.300706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.303165"], ["updated_at", "2015-05-25 16:28:40.303165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.304622"], ["updated_at", "2015-05-25 16:28:40.304622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.306303"], ["updated_at", "2015-05-25 16:28:40.306303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.307686"], ["updated_at", "2015-05-25 16:28:40.307686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.310230"], ["updated_at", "2015-05-25 16:28:40.310230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 16:28:40.311198"], ["updated_at", "2015-05-25 16:28:40.311605"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 16:28:40.312551"], ["current_period_start", "2015-05-25 16:28:40.312551"], ["current_period_end", "2015-06-25 16:28:40.312551"], ["created_at", "2015-05-25 16:28:40.313637"], ["updated_at", "2015-05-25 16:28:40.313637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.316434"], ["updated_at", "2015-05-25 16:28:40.316434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.318166"], ["updated_at", "2015-05-25 16:28:40.318166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 16:28:40.319573"], ["current_period_start", "2015-05-25 16:28:40.319573"], ["current_period_end", "2015-06-25 16:28:40.319573"], ["created_at", "2015-05-25 16:28:40.320733"], ["updated_at", "2015-05-25 16:28:40.320733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.323393"], ["updated_at", "2015-05-25 16:28:40.323393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.324926"], ["updated_at", "2015-05-25 16:28:40.324926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 16:28:40.326057"], ["current_period_start", "2015-05-25 16:28:40.326057"], ["current_period_end", "2015-06-25 16:28:40.326057"], ["created_at", "2015-05-25 16:28:40.326672"], ["updated_at", "2015-05-25 16:28:40.326672"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.328433"], ["updated_at", "2015-05-25 16:28:40.328433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.330098"], ["updated_at", "2015-05-25 16:28:40.330098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.332314"], ["updated_at", "2015-05-25 16:28:40.332314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.333973"], ["updated_at", "2015-05-25 16:28:40.333973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.342363"], ["updated_at", "2015-05-25 16:28:40.342363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 16:28:40.344256"], ["updated_at", "2015-05-25 16:28:40.344944"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.347220"], ["updated_at", "2015-05-25 16:28:40.347220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.349486"], ["updated_at", "2015-05-25 16:28:40.349486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.351682"], ["updated_at", "2015-05-25 16:28:40.351682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.353186"], ["updated_at", "2015-05-25 16:28:40.353186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.356139"], ["updated_at", "2015-05-25 16:28:40.356139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 16:28:40.357090"], ["updated_at", "2015-05-25 16:28:40.357504"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.359939"], ["updated_at", "2015-05-25 16:28:40.359939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.361546"], ["updated_at", "2015-05-25 16:28:40.361546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.365774"], ["updated_at", "2015-05-25 16:28:40.365774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 16:28:39.608343"], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.367599"], ["updated_at", "2015-05-25 16:28:40.367599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.370308"], ["updated_at", "2015-05-25 16:28:40.370308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.372057"], ["updated_at", "2015-05-25 16:28:40.372057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.374133"], ["updated_at", "2015-05-25 16:28:40.374133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.377930"], ["updated_at", "2015-05-25 16:28:40.377930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 16:28:40.379344"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.381846"], ["updated_at", "2015-05-25 16:28:40.381846"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.383940"], ["updated_at", "2015-05-25 16:28:40.383940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.386050"], ["updated_at", "2015-05-25 16:28:40.386050"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.388910"], ["updated_at", "2015-05-25 16:28:40.388910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 16:28:40.390125"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.391808"], ["updated_at", "2015-05-25 16:28:40.391808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.393945"], ["updated_at", "2015-05-25 16:28:40.393945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.395468"], ["updated_at", "2015-05-25 16:28:40.395468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.398467"], ["updated_at", "2015-05-25 16:28:40.398467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 16:28:40.399792"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.401361"], ["updated_at", "2015-05-25 16:28:40.401361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.404037"], ["updated_at", "2015-05-25 16:28:40.404037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.407365"], ["updated_at", "2015-05-25 16:28:40.407365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.410772"], ["updated_at", "2015-05-25 16:28:40.410772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 16:28:40.413080"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.415925"], ["updated_at", "2015-05-25 16:28:40.415925"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.419442"], ["updated_at", "2015-05-25 16:28:40.419442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.421343"], ["updated_at", "2015-05-25 16:28:40.421343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.4ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.426713"], ["updated_at", "2015-05-25 16:28:40.426713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 16:28:40.428591"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.430444"], ["updated_at", "2015-05-25 16:28:40.430444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.433368"], ["updated_at", "2015-05-25 16:28:40.433368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.436112"], ["updated_at", "2015-05-25 16:28:40.436112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.5ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.441279"], ["updated_at", "2015-05-25 16:28:40.441279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 16:28:40.443332"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.447092"], ["updated_at", "2015-05-25 16:28:40.447092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.451061"], ["updated_at", "2015-05-25 16:28:40.451061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.453321"], ["updated_at", "2015-05-25 16:28:40.453321"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.458436"], ["updated_at", "2015-05-25 16:28:40.458436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 16:28:40.460503"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.465804"], ["updated_at", "2015-05-25 16:28:40.465804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 16:28:39.608343"], ["created_at", "2015-05-25 16:28:40.468714"], ["updated_at", "2015-05-25 16:28:40.468714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:28:40.471008"], ["updated_at", "2015-05-25 16:28:40.471008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.474900"], ["updated_at", "2015-05-25 16:28:40.474900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.477171"], ["updated_at", "2015-05-25 16:28:40.477171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.479343"], ["updated_at", "2015-05-25 16:28:40.479343"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:28:40.481790"], ["updated_at", "2015-05-25 16:28:40.481790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.484766"], ["updated_at", "2015-05-25 16:28:40.484766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.487458"], ["updated_at", "2015-05-25 16:28:40.487458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.489667"], ["updated_at", "2015-05-25 16:28:40.489667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:28:40.498693"], ["updated_at", "2015-05-25 16:28:40.498693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.501362"], ["updated_at", "2015-05-25 16:28:40.501362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.503102"], ["updated_at", "2015-05-25 16:28:40.503102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.512381"], ["updated_at", "2015-05-25 16:28:40.512381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:28:40.514085"], ["updated_at", "2015-05-25 16:28:40.514085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.516038"], ["updated_at", "2015-05-25 16:28:40.516038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 19:28:40.514674"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.517426"], ["updated_at", "2015-05-25 16:28:40.517426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 19:28:40.514674"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.518910"], ["updated_at", "2015-05-25 16:28:40.518910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.521162"], ["updated_at", "2015-05-25 16:28:40.521162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:28:40.522132"], ["updated_at", "2015-05-25 16:28:40.522132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.523928"], ["updated_at", "2015-05-25 16:28:40.523928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.525261"], ["updated_at", "2015-05-25 16:28:40.525261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:28:40.526939"], ["updated_at", "2015-05-25 16:28:40.526939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.531167"], ["updated_at", "2015-05-25 16:28:40.531167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 13:28:40.528452"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.533174"], ["updated_at", "2015-05-25 16:28:40.533174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 13:28:40.528452"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.534645"], ["updated_at", "2015-05-25 16:28:40.534645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:28:40.536498"], ["updated_at", "2015-05-25 16:28:40.536498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.538318"], ["updated_at", "2015-05-25 16:28:40.538318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.539771"], ["updated_at", "2015-05-25 16:28:40.539771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.541066"], ["updated_at", "2015-05-25 16:28:40.541066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.543180"], ["updated_at", "2015-05-25 16:28:40.543180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:28:40.544129"], ["updated_at", "2015-05-25 16:28:40.544129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.545689"], ["updated_at", "2015-05-25 16:28:40.545689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.547379"], ["updated_at", "2015-05-25 16:28:40.547379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:28:40.549051"], ["updated_at", "2015-05-25 16:28:40.549051"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.550882"], ["updated_at", "2015-05-25 16:28:40.550882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.552361"], ["updated_at", "2015-05-25 16:28:40.552361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:28:40.553631"], ["updated_at", "2015-05-25 16:28:40.553631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.556168"], ["updated_at", "2015-05-25 16:28:40.556168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.558785"], ["updated_at", "2015-05-25 16:28:40.558785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.560480"], ["updated_at", "2015-05-25 16:28:40.560480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.562455"], ["updated_at", "2015-05-25 16:28:40.562455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.564302"], ["updated_at", "2015-05-25 16:28:40.564302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 16:28:39.608343"], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.565912"], ["updated_at", "2015-05-25 16:28:40.565912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.567756"], ["updated_at", "2015-05-25 16:28:40.567756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 16:28:40.566616"], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.569110"], ["updated_at", "2015-05-25 16:28:40.569110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.571108"], ["updated_at", "2015-05-25 16:28:40.571108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.572826"], ["updated_at", "2015-05-25 16:28:40.572826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.574163"], ["updated_at", "2015-05-25 16:28:40.574163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.575969"], ["updated_at", "2015-05-25 16:28:40.575969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.577596"], ["updated_at", "2015-05-25 16:28:40.577596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 16:28:39.608343"], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.579956"], ["updated_at", "2015-05-25 16:28:40.579956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.583929"], ["updated_at", "2015-05-25 16:28:40.583929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.585792"], ["updated_at", "2015-05-25 16:28:40.585792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.587621"], ["updated_at", "2015-05-25 16:28:40.587621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 16:28:39.608343"], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.589900"], ["updated_at", "2015-05-25 16:28:40.589900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:28:40.591959"], ["updated_at", "2015-05-25 16:28:40.591959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.593669"], ["updated_at", "2015-05-25 16:28:40.593669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:28:40.595013"], ["updated_at", "2015-05-25 16:28:40.595013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.599517"], ["updated_at", "2015-05-25 16:28:40.599517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 16:28:40.598114"], ["created_at", "2015-05-25 16:28:40.601159"], ["updated_at", "2015-05-25 16:28:40.601159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.605776"], ["updated_at", "2015-05-25 16:28:40.605776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:28:40.607954"], ["updated_at", "2015-05-25 16:28:40.607954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.595283"], ["updated_at", "2015-05-25 16:29:10.595283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 16:29:10.381460"], ["created_at", "2015-05-25 16:29:10.600960"], ["updated_at", "2015-05-25 16:29:10.600960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:29:10.607234"], ["updated_at", "2015-05-25 16:29:10.607234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.610200"], ["updated_at", "2015-05-25 16:29:10.610200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.612849"], ["updated_at", "2015-05-25 16:29:10.612849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.621119"], ["updated_at", "2015-05-25 16:29:10.621119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:29:10.623769"], ["updated_at", "2015-05-25 16:29:10.623769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.626028"], ["updated_at", "2015-05-25 16:29:10.626028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.627826"], ["updated_at", "2015-05-25 16:29:10.627826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.629231"], ["updated_at", "2015-05-25 16:29:10.629231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:29:10.631521"], ["updated_at", "2015-05-25 16:29:10.631521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.634618"], ["updated_at", "2015-05-25 16:29:10.634618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.636760"], ["updated_at", "2015-05-25 16:29:10.636760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.638286"], ["updated_at", "2015-05-25 16:29:10.638286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:29:10.644391"], ["updated_at", "2015-05-25 16:29:10.644391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.647239"], ["updated_at", "2015-05-25 16:29:10.647239"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.649094"], ["updated_at", "2015-05-25 16:29:10.649094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.651030"], ["updated_at", "2015-05-25 16:29:10.651030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:29:10.653183"], ["updated_at", "2015-05-25 16:29:10.653183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.655329"], ["updated_at", "2015-05-25 16:29:10.655329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 19:29:10.653875"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.656911"], ["updated_at", "2015-05-25 16:29:10.656911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 19:29:10.653875"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.664658"], ["updated_at", "2015-05-25 16:29:10.664658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.667488"], ["updated_at", "2015-05-25 16:29:10.667488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:29:10.668923"], ["updated_at", "2015-05-25 16:29:10.668923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.671160"], ["updated_at", "2015-05-25 16:29:10.671160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.672650"], ["updated_at", "2015-05-25 16:29:10.672650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:29:10.674267"], ["updated_at", "2015-05-25 16:29:10.674267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.676327"], ["updated_at", "2015-05-25 16:29:10.676327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 13:29:10.674947"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.677779"], ["updated_at", "2015-05-25 16:29:10.677779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 13:29:10.674947"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.679170"], ["updated_at", "2015-05-25 16:29:10.679170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:29:10.680764"], ["updated_at", "2015-05-25 16:29:10.680764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.682433"], ["updated_at", "2015-05-25 16:29:10.682433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.684178"], ["updated_at", "2015-05-25 16:29:10.684178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.685545"], ["updated_at", "2015-05-25 16:29:10.685545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.688774"], ["updated_at", "2015-05-25 16:29:10.688774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 16:29:10.690351"], ["updated_at", "2015-05-25 16:29:10.690351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.692441"], ["updated_at", "2015-05-25 16:29:10.692441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.694599"], ["updated_at", "2015-05-25 16:29:10.694599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.703350"], ["updated_at", "2015-05-25 16:29:10.703350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 16:29:10.701974"], ["created_at", "2015-05-25 16:29:10.704955"], ["updated_at", "2015-05-25 16:29:10.704955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.708905"], ["updated_at", "2015-05-25 16:29:10.708905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.711201"], ["updated_at", "2015-05-25 16:29:10.711201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.712898"], ["updated_at", "2015-05-25 16:29:10.712898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.714203"], ["updated_at", "2015-05-25 16:29:10.714203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.715772"], ["updated_at", "2015-05-25 16:29:10.715772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.717452"], ["updated_at", "2015-05-25 16:29:10.717452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.726873"], ["updated_at", "2015-05-25 16:29:10.726873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 16:29:10.728390"], ["updated_at", "2015-05-25 16:29:10.729554"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 16:29:10.732272"], ["current_period_start", "2015-05-25 16:29:10.732272"], ["current_period_end", "2015-06-25 16:29:10.732272"], ["created_at", "2015-05-25 16:29:10.733083"], ["updated_at", "2015-05-25 16:29:10.733083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.735525"], ["updated_at", "2015-05-25 16:29:10.735525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.737009"], ["updated_at", "2015-05-25 16:29:10.737009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.738645"], ["updated_at", "2015-05-25 16:29:10.738645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.740059"], ["updated_at", "2015-05-25 16:29:10.740059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.742575"], ["updated_at", "2015-05-25 16:29:10.742575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 16:29:10.743462"], ["updated_at", "2015-05-25 16:29:10.743843"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 16:29:10.744495"], ["current_period_start", "2015-05-25 16:29:10.744495"], ["current_period_end", "2015-06-25 16:29:10.744495"], ["created_at", "2015-05-25 16:29:10.745011"], ["updated_at", "2015-05-25 16:29:10.745011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.747636"], ["updated_at", "2015-05-25 16:29:10.747636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.749423"], ["updated_at", "2015-05-25 16:29:10.749423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.751707"], ["updated_at", "2015-05-25 16:29:10.751707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.753164"], ["updated_at", "2015-05-25 16:29:10.753164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.756510"], ["updated_at", "2015-05-25 16:29:10.756510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 16:29:10.757515"], ["updated_at", "2015-05-25 16:29:10.757921"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 16:29:10.758686"], ["current_period_start", "2015-05-25 16:29:10.758686"], ["current_period_end", "2015-06-25 16:29:10.758686"], ["created_at", "2015-05-25 16:29:10.759379"], ["updated_at", "2015-05-25 16:29:10.759379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.761824"], ["updated_at", "2015-05-25 16:29:10.761824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.763252"], ["updated_at", "2015-05-25 16:29:10.763252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 16:29:10.764361"], ["current_period_start", "2015-05-25 16:29:10.764361"], ["current_period_end", "2015-06-25 16:29:10.764361"], ["created_at", "2015-05-25 16:29:10.764939"], ["updated_at", "2015-05-25 16:29:10.764939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.767056"], ["updated_at", "2015-05-25 16:29:10.767056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.768994"], ["updated_at", "2015-05-25 16:29:10.768994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 16:29:10.770700"], ["current_period_start", "2015-05-25 16:29:10.770700"], ["current_period_end", "2015-06-25 16:29:10.770700"], ["created_at", "2015-05-25 16:29:10.771426"], ["updated_at", "2015-05-25 16:29:10.771426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 16:29:10.773788"], ["updated_at", "2015-05-25 16:29:10.773788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 16:29:10.775160"], ["updated_at", "2015-05-25 16:29:10.775160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.776618"], ["updated_at", "2015-05-25 16:29:10.776618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.794188"], ["updated_at", "2015-05-25 16:29:10.794188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.803190"], ["updated_at", "2015-05-25 16:29:10.803190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.804559"], ["updated_at", "2015-05-25 16:29:10.804559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.805862"], ["updated_at", "2015-05-25 16:29:10.805862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.809269"], ["updated_at", "2015-05-25 16:29:10.809269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.811968"], ["updated_at", "2015-05-25 16:29:10.811968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.813851"], ["updated_at", "2015-05-25 16:29:10.813851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 16:29:10.381460"], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.815171"], ["updated_at", "2015-05-25 16:29:10.815171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.818522"], ["updated_at", "2015-05-25 16:29:10.818522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.820615"], ["updated_at", "2015-05-25 16:29:10.820615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.822523"], ["updated_at", "2015-05-25 16:29:10.822523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.825236"], ["updated_at", "2015-05-25 16:29:10.825236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 16:29:10.826474"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.828651"], ["updated_at", "2015-05-25 16:29:10.828651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.830550"], ["updated_at", "2015-05-25 16:29:10.830550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.832198"], ["updated_at", "2015-05-25 16:29:10.832198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.835020"], ["updated_at", "2015-05-25 16:29:10.835020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 16:29:10.836226"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.837676"], ["updated_at", "2015-05-25 16:29:10.837676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.839169"], ["updated_at", "2015-05-25 16:29:10.839169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.840836"], ["updated_at", "2015-05-25 16:29:10.840836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.843170"], ["updated_at", "2015-05-25 16:29:10.843170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 16:29:10.844321"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.845804"], ["updated_at", "2015-05-25 16:29:10.845804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.847987"], ["updated_at", "2015-05-25 16:29:10.847987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.850352"], ["updated_at", "2015-05-25 16:29:10.850352"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.854671"], ["updated_at", "2015-05-25 16:29:10.854671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 16:29:10.855955"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.857464"], ["updated_at", "2015-05-25 16:29:10.857464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.859263"], ["updated_at", "2015-05-25 16:29:10.859263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.860558"], ["updated_at", "2015-05-25 16:29:10.860558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.863151"], ["updated_at", "2015-05-25 16:29:10.863151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 16:29:10.864301"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.865702"], ["updated_at", "2015-05-25 16:29:10.865702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.868112"], ["updated_at", "2015-05-25 16:29:10.868112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.869691"], ["updated_at", "2015-05-25 16:29:10.869691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.872215"], ["updated_at", "2015-05-25 16:29:10.872215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 16:29:10.873316"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.874741"], ["updated_at", "2015-05-25 16:29:10.874741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.876483"], ["updated_at", "2015-05-25 16:29:10.876483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.878010"], ["updated_at", "2015-05-25 16:29:10.878010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.881236"], ["updated_at", "2015-05-25 16:29:10.881236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 16:29:10.882371"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.886172"], ["updated_at", "2015-05-25 16:29:10.886172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.887947"], ["updated_at", "2015-05-25 16:29:10.887947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.889304"], ["updated_at", "2015-05-25 16:29:10.889304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.891058"], ["updated_at", "2015-05-25 16:29:10.891058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.893549"], ["updated_at", "2015-05-25 16:29:10.893549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 16:29:10.381460"], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.895043"], ["updated_at", "2015-05-25 16:29:10.895043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.897064"], ["updated_at", "2015-05-25 16:29:10.897064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 16:29:10.895748"], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.898401"], ["updated_at", "2015-05-25 16:29:10.898401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.902211"], ["updated_at", "2015-05-25 16:29:10.902211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.904223"], ["updated_at", "2015-05-25 16:29:10.904223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.905695"], ["updated_at", "2015-05-25 16:29:10.905695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.907545"], ["updated_at", "2015-05-25 16:29:10.907545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.910004"], ["updated_at", "2015-05-25 16:29:10.910004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 16:29:10.381460"], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.911560"], ["updated_at", "2015-05-25 16:29:10.911560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.913540"], ["updated_at", "2015-05-25 16:29:10.913540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.915354"], ["updated_at", "2015-05-25 16:29:10.915354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.917033"], ["updated_at", "2015-05-25 16:29:10.917033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.919116"], ["updated_at", "2015-05-25 16:29:10.919116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.920836"], ["updated_at", "2015-05-25 16:29:10.920836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.922541"], ["updated_at", "2015-05-25 16:29:10.922541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 16:29:10.381460"], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.924046"], ["updated_at", "2015-05-25 16:29:10.924046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.927180"], ["updated_at", "2015-05-25 16:29:10.927180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.928591"], ["updated_at", "2015-05-25 16:29:10.928591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.930122"], ["updated_at", "2015-05-25 16:29:10.930122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.931415"], ["updated_at", "2015-05-25 16:29:10.931415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.935794"], ["updated_at", "2015-05-25 16:29:10.935794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 16:29:10.936868"], ["updated_at", "2015-05-25 16:29:10.937461"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:29:10.940436"], ["updated_at", "2015-05-25 16:29:10.940436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.942370"], ["updated_at", "2015-05-25 16:29:10.942370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.944148"], ["updated_at", "2015-05-25 16:29:10.944148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 16:29:10.945430"], ["updated_at", "2015-05-25 16:29:10.945430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 16:29:10.947913"], ["updated_at", "2015-05-25 16:29:10.947913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 16:29:10.948688"], ["updated_at", "2015-05-25 16:29:10.949039"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.977155"], ["updated_at", "2015-05-25 16:29:10.977155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.979631"], ["updated_at", "2015-05-25 16:29:10.979631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.982021"], ["updated_at", "2015-05-25 16:29:10.982021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.985031"], ["updated_at", "2015-05-25 16:29:10.985031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.987690"], ["updated_at", "2015-05-25 16:29:10.987690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.990644"], ["updated_at", "2015-05-25 16:29:10.990644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.993142"], ["updated_at", "2015-05-25 16:29:10.993142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:10.995715"], ["updated_at", "2015-05-25 16:29:10.995715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:11.001533"], ["updated_at", "2015-05-25 16:29:11.001533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:11.004838"], ["updated_at", "2015-05-25 16:29:11.004838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:11.007461"], ["updated_at", "2015-05-25 16:29:11.007461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:11.009825"], ["updated_at", "2015-05-25 16:29:11.009825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 16:29:11.011227"], ["updated_at", "2015-05-25 16:29:11.011227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 16:29:11.011990"], ["updated_at", "2015-05-25 16:29:11.012291"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:11.014780"], ["updated_at", "2015-05-25 16:29:11.014780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 16:29:11.013685"], ["created_at", "2015-05-25 16:29:11.016424"], ["updated_at", "2015-05-25 16:29:11.016424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 16:29:11.018686"], ["updated_at", "2015-05-25 16:29:11.018686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 16:29:11.020590"], ["updated_at", "2015-05-25 16:29:11.020590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 16:29:11.021312"], ["current_period_start", "2015-05-25 16:29:11.021312"], ["current_period_end", "2015-06-25 16:29:11.021312"], ["created_at", "2015-05-25 16:29:11.022276"], ["updated_at", "2015-05-25 16:29:11.022276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = NULL LIMIT 1 Completed 404 Not Found in 13ms (ActiveRecord: 1.6ms)  (0.0ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = NULL LIMIT 1 Completed 404 Not Found in 12ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = NULL LIMIT 1 Completed 404 Not Found in 11ms (ActiveRecord: 0.8ms)  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = NULL LIMIT 1 Completed 404 Not Found in 12ms (ActiveRecord: 0.9ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.3ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = NULL LIMIT 1 Completed 404 Not Found in 29ms (ActiveRecord: 2.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.5ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = NULL LIMIT 1 Completed 404 Not Found in 5ms (ActiveRecord: 0.5ms)  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:38:07.225926"], ["updated_at", "2015-05-25 16:38:07.225926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = NULL LIMIT 1 Completed 404 Not Found in 5ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = NULL LIMIT 1 Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.4ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.3ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = NULL LIMIT 1 Completed 404 Not Found in 8461ms (ActiveRecord: 1.8ms)  (0.2ms) rollback transaction  (3.5ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:38:43.511302"], ["updated_at", "2015-05-25 16:38:43.511302"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = NULL LIMIT 1 Completed 404 Not Found in 991ms (ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.4ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = NULL LIMIT 1 Completed 404 Not Found in 7087ms (ActiveRecord: 1.9ms)  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:38:55.582592"], ["updated_at", "2015-05-25 16:38:55.582592"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" Organization Load (0.8ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = NULL LIMIT 1 Completed 404 Not Found in 17562ms (ActiveRecord: 0.9ms)  (0.3ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.4ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1868ms (ActiveRecord: 1.9ms)  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:39:33.297034"], ["updated_at", "2015-05-25 16:39:33.297034"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.6ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 627ms (ActiveRecord: 0.6ms)  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:40:01.721748"], ["updated_at", "2015-05-25 16:40:01.721748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:40:34.809251"], ["updated_at", "2015-05-25 16:40:34.809251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 14ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 16:40:43.857902"], ["updated_at", "2015-05-25 16:40:43.857902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.338719"], ["updated_at", "2015-05-25 17:15:24.338719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 17:15:24.344343"], ["updated_at", "2015-05-25 17:15:24.344343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:15:24.345444"], ["updated_at", "2015-05-25 17:15:24.345910"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.351712"], ["updated_at", "2015-05-25 17:15:24.351712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:15:24.350017"], ["created_at", "2015-05-25 17:15:24.353595"], ["updated_at", "2015-05-25 17:15:24.353595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.358520"], ["updated_at", "2015-05-25 17:15:24.358520"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.360296"], ["updated_at", "2015-05-25 17:15:24.360296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.362266"], ["updated_at", "2015-05-25 17:15:24.362266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.364826"], ["updated_at", "2015-05-25 17:15:24.364826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.382065"], ["updated_at", "2015-05-25 17:15:24.382065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:15:24.383157"], ["updated_at", "2015-05-25 17:15:24.383735"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.387377"], ["updated_at", "2015-05-25 17:15:24.387377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.389130"], ["updated_at", "2015-05-25 17:15:24.389130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.391069"], ["updated_at", "2015-05-25 17:15:24.391069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.392677"], ["updated_at", "2015-05-25 17:15:24.392677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.395408"], ["updated_at", "2015-05-25 17:15:24.395408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:15:24.396490"], ["updated_at", "2015-05-25 17:15:24.396858"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.4ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.413891"], ["updated_at", "2015-05-25 17:15:24.413891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:15:24.412685"], ["created_at", "2015-05-25 17:15:24.415392"], ["updated_at", "2015-05-25 17:15:24.415392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.418896"], ["updated_at", "2015-05-25 17:15:24.418896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.422046"], ["updated_at", "2015-05-25 17:15:24.422046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.424668"], ["updated_at", "2015-05-25 17:15:24.424668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.426872"], ["updated_at", "2015-05-25 17:15:24.426872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.428512"], ["updated_at", "2015-05-25 17:15:24.428512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.430681"], ["updated_at", "2015-05-25 17:15:24.430681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.432533"], ["updated_at", "2015-05-25 17:15:24.432533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:15:24.123675"], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.434167"], ["updated_at", "2015-05-25 17:15:24.434167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.437305"], ["updated_at", "2015-05-25 17:15:24.437305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.439772"], ["updated_at", "2015-05-25 17:15:24.439772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.441377"], ["updated_at", "2015-05-25 17:15:24.441377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.443389"], ["updated_at", "2015-05-25 17:15:24.443389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.445181"], ["updated_at", "2015-05-25 17:15:24.445181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.448024"], ["updated_at", "2015-05-25 17:15:24.448024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:15:24.123675"], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.449902"], ["updated_at", "2015-05-25 17:15:24.449902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.452240"], ["updated_at", "2015-05-25 17:15:24.452240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.454130"], ["updated_at", "2015-05-25 17:15:24.454130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.455929"], ["updated_at", "2015-05-25 17:15:24.455929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.458317"], ["updated_at", "2015-05-25 17:15:24.458317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.460231"], ["updated_at", "2015-05-25 17:15:24.460231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:15:24.123675"], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.461652"], ["updated_at", "2015-05-25 17:15:24.461652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.463646"], ["updated_at", "2015-05-25 17:15:24.463646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 17:15:24.462326"], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.465555"], ["updated_at", "2015-05-25 17:15:24.465555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.474574"], ["updated_at", "2015-05-25 17:15:24.474574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 17:15:24.477776"], ["updated_at", "2015-05-25 17:15:24.477776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.479735"], ["updated_at", "2015-05-25 17:15:24.479735"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:15:24.480455"], ["current_period_start", "2015-05-25 17:15:24.480455"], ["current_period_end", "2015-06-25 17:15:24.480455"], ["created_at", "2015-05-25 17:15:24.481115"], ["updated_at", "2015-05-25 17:15:24.481115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 17:15:24.484822"], ["updated_at", "2015-05-25 17:15:24.484822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 17:15:24.486316"], ["updated_at", "2015-05-25 17:15:24.486316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.488031"], ["updated_at", "2015-05-25 17:15:24.488031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.510937"], ["updated_at", "2015-05-25 17:15:24.510937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.517312"], ["updated_at", "2015-05-25 17:15:24.517312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.518730"], ["updated_at", "2015-05-25 17:15:24.518730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.520483"], ["updated_at", "2015-05-25 17:15:24.520483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.522558"], ["updated_at", "2015-05-25 17:15:24.522558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.524071"], ["updated_at", "2015-05-25 17:15:24.524071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.526574"], ["updated_at", "2015-05-25 17:15:24.526574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.528505"], ["updated_at", "2015-05-25 17:15:24.528505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.532958"], ["updated_at", "2015-05-25 17:15:24.532958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:15:24.533874"], ["updated_at", "2015-05-25 17:15:24.534292"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:15:24.534980"], ["current_period_start", "2015-05-25 17:15:24.534980"], ["current_period_end", "2015-06-25 17:15:24.534980"], ["created_at", "2015-05-25 17:15:24.535565"], ["updated_at", "2015-05-25 17:15:24.535565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.537749"], ["updated_at", "2015-05-25 17:15:24.537749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.539291"], ["updated_at", "2015-05-25 17:15:24.539291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.541005"], ["updated_at", "2015-05-25 17:15:24.541005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.542320"], ["updated_at", "2015-05-25 17:15:24.542320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.544859"], ["updated_at", "2015-05-25 17:15:24.544859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:15:24.545730"], ["updated_at", "2015-05-25 17:15:24.546506"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:15:24.547373"], ["current_period_start", "2015-05-25 17:15:24.547373"], ["current_period_end", "2015-06-25 17:15:24.547373"], ["created_at", "2015-05-25 17:15:24.547997"], ["updated_at", "2015-05-25 17:15:24.547997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.550175"], ["updated_at", "2015-05-25 17:15:24.550175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.551801"], ["updated_at", "2015-05-25 17:15:24.551801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.553622"], ["updated_at", "2015-05-25 17:15:24.553622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.554878"], ["updated_at", "2015-05-25 17:15:24.554878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.558523"], ["updated_at", "2015-05-25 17:15:24.558523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:15:24.559421"], ["updated_at", "2015-05-25 17:15:24.559817"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:15:24.560457"], ["current_period_start", "2015-05-25 17:15:24.560457"], ["current_period_end", "2015-06-25 17:15:24.560457"], ["created_at", "2015-05-25 17:15:24.560979"], ["updated_at", "2015-05-25 17:15:24.560979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.563535"], ["updated_at", "2015-05-25 17:15:24.563535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.565139"], ["updated_at", "2015-05-25 17:15:24.565139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:15:24.566265"], ["current_period_start", "2015-05-25 17:15:24.566265"], ["current_period_end", "2015-06-25 17:15:24.566265"], ["created_at", "2015-05-25 17:15:24.566871"], ["updated_at", "2015-05-25 17:15:24.566871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.568743"], ["updated_at", "2015-05-25 17:15:24.568743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.570805"], ["updated_at", "2015-05-25 17:15:24.570805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:15:24.573253"], ["current_period_start", "2015-05-25 17:15:24.573253"], ["current_period_end", "2015-06-25 17:15:24.573253"], ["created_at", "2015-05-25 17:15:24.574068"], ["updated_at", "2015-05-25 17:15:24.574068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.575964"], ["updated_at", "2015-05-25 17:15:24.575964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.577693"], ["updated_at", "2015-05-25 17:15:24.577693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.579894"], ["updated_at", "2015-05-25 17:15:24.579894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:15:24.123675"], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.581501"], ["updated_at", "2015-05-25 17:15:24.581501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.583742"], ["updated_at", "2015-05-25 17:15:24.583742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.585280"], ["updated_at", "2015-05-25 17:15:24.585280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.588091"], ["updated_at", "2015-05-25 17:15:24.588091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.590877"], ["updated_at", "2015-05-25 17:15:24.590877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:15:24.592070"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.594222"], ["updated_at", "2015-05-25 17:15:24.594222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.596045"], ["updated_at", "2015-05-25 17:15:24.596045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.598101"], ["updated_at", "2015-05-25 17:15:24.598101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.600613"], ["updated_at", "2015-05-25 17:15:24.600613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:15:24.601720"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.603296"], ["updated_at", "2015-05-25 17:15:24.603296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.605052"], ["updated_at", "2015-05-25 17:15:24.605052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.606414"], ["updated_at", "2015-05-25 17:15:24.606414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.608820"], ["updated_at", "2015-05-25 17:15:24.608820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:15:24.609909"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.612073"], ["updated_at", "2015-05-25 17:15:24.612073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.614582"], ["updated_at", "2015-05-25 17:15:24.614582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.617208"], ["updated_at", "2015-05-25 17:15:24.617208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.620839"], ["updated_at", "2015-05-25 17:15:24.620839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 17:15:24.622256"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.624012"], ["updated_at", "2015-05-25 17:15:24.624012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.626043"], ["updated_at", "2015-05-25 17:15:24.626043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.627566"], ["updated_at", "2015-05-25 17:15:24.627566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.630711"], ["updated_at", "2015-05-25 17:15:24.630711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:15:24.631999"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.633761"], ["updated_at", "2015-05-25 17:15:24.633761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.635756"], ["updated_at", "2015-05-25 17:15:24.635756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.637110"], ["updated_at", "2015-05-25 17:15:24.637110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.639648"], ["updated_at", "2015-05-25 17:15:24.639648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:15:24.640731"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:15:24.642154"], ["updated_at", "2015-05-25 17:15:24.642154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.644005"], ["updated_at", "2015-05-25 17:15:24.644005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.645402"], ["updated_at", "2015-05-25 17:15:24.645402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.649515"], ["updated_at", "2015-05-25 17:15:24.649515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:15:24.650800"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.679581"], ["updated_at", "2015-05-25 17:15:24.679581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.682931"], ["updated_at", "2015-05-25 17:15:24.682931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.685398"], ["updated_at", "2015-05-25 17:15:24.685398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.687894"], ["updated_at", "2015-05-25 17:15:24.687894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.690731"], ["updated_at", "2015-05-25 17:15:24.690731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.693635"], ["updated_at", "2015-05-25 17:15:24.693635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.698937"], ["updated_at", "2015-05-25 17:15:24.698937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.703475"], ["updated_at", "2015-05-25 17:15:24.703475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.707036"], ["updated_at", "2015-05-25 17:15:24.707036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.711426"], ["updated_at", "2015-05-25 17:15:24.711426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.714545"], ["updated_at", "2015-05-25 17:15:24.714545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.717390"], ["updated_at", "2015-05-25 17:15:24.717390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:15:24.123675"], ["created_at", "2015-05-25 17:15:24.718677"], ["updated_at", "2015-05-25 17:15:24.718677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:15:24.720587"], ["updated_at", "2015-05-25 17:15:24.720587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.722558"], ["updated_at", "2015-05-25 17:15:24.722558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.724133"], ["updated_at", "2015-05-25 17:15:24.724133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.725614"], ["updated_at", "2015-05-25 17:15:24.725614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:15:24.727175"], ["updated_at", "2015-05-25 17:15:24.727175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.728851"], ["updated_at", "2015-05-25 17:15:24.728851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.730526"], ["updated_at", "2015-05-25 17:15:24.730526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.731906"], ["updated_at", "2015-05-25 17:15:24.731906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:15:24.738345"], ["updated_at", "2015-05-25 17:15:24.738345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.742148"], ["updated_at", "2015-05-25 17:15:24.742148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.743881"], ["updated_at", "2015-05-25 17:15:24.743881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.745373"], ["updated_at", "2015-05-25 17:15:24.745373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.747873"], ["updated_at", "2015-05-25 17:15:24.747873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:15:24.748815"], ["updated_at", "2015-05-25 17:15:24.748815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.750556"], ["updated_at", "2015-05-25 17:15:24.750556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.751882"], ["updated_at", "2015-05-25 17:15:24.751882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:15:24.753473"], ["updated_at", "2015-05-25 17:15:24.753473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.755478"], ["updated_at", "2015-05-25 17:15:24.755478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.756899"], ["updated_at", "2015-05-25 17:15:24.756899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.758183"], ["updated_at", "2015-05-25 17:15:24.758183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:15:24.759737"], ["updated_at", "2015-05-25 17:15:24.759737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.761426"], ["updated_at", "2015-05-25 17:15:24.761426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 14:15:24.760315"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.762855"], ["updated_at", "2015-05-25 17:15:24.762855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 14:15:24.760315"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.764175"], ["updated_at", "2015-05-25 17:15:24.764175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:15:24.765588"], ["updated_at", "2015-05-25 17:15:24.765588"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.767234"], ["updated_at", "2015-05-25 17:15:24.767234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 20:15:24.766153"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.768519"], ["updated_at", "2015-05-25 17:15:24.768519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 20:15:24.766153"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.770493"], ["updated_at", "2015-05-25 17:15:24.770493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:15:24.772797"], ["updated_at", "2015-05-25 17:15:24.772797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.774834"], ["updated_at", "2015-05-25 17:15:24.774834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.777741"], ["updated_at", "2015-05-25 17:15:24.777741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.779638"], ["updated_at", "2015-05-25 17:15:24.779638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:15:24.781954"], ["updated_at", "2015-05-25 17:15:24.781954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:15:24.782899"], ["updated_at", "2015-05-25 17:15:24.782899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:15:24.784547"], ["updated_at", "2015-05-25 17:15:24.784547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:15:24.785829"], ["updated_at", "2015-05-25 17:15:24.785829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:18.495904"], ["updated_at", "2015-05-25 17:21:18.495904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:18.502438"], ["updated_at", "2015-05-25 17:21:18.502438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:18.506280"], ["updated_at", "2015-05-25 17:21:18.506280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:18.509986"], ["updated_at", "2015-05-25 17:21:18.509986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:18.512701"], ["updated_at", "2015-05-25 17:21:18.512701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:18.515575"], ["updated_at", "2015-05-25 17:21:18.515575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:18.521262"], ["updated_at", "2015-05-25 17:21:18.521262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:18.526809"], ["updated_at", "2015-05-25 17:21:18.526809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:18.529776"], ["updated_at", "2015-05-25 17:21:18.529776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:18.532971"], ["updated_at", "2015-05-25 17:21:18.532971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:18.535922"], ["updated_at", "2015-05-25 17:21:18.535922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:18.538868"], ["updated_at", "2015-05-25 17:21:18.538868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:32.524646"], ["updated_at", "2015-05-25 17:21:32.524646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:32.536687"], ["updated_at", "2015-05-25 17:21:32.536687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:32.540134"], ["updated_at", "2015-05-25 17:21:32.540134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:32.543116"], ["updated_at", "2015-05-25 17:21:32.543116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:32.545658"], ["updated_at", "2015-05-25 17:21:32.545658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:32.548371"], ["updated_at", "2015-05-25 17:21:32.548371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:32.553991"], ["updated_at", "2015-05-25 17:21:32.553991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:32.557186"], ["updated_at", "2015-05-25 17:21:32.557186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:32.563789"], ["updated_at", "2015-05-25 17:21:32.563789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:32.568183"], ["updated_at", "2015-05-25 17:21:32.568183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:32.571298"], ["updated_at", "2015-05-25 17:21:32.571298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:32.574194"], ["updated_at", "2015-05-25 17:21:32.574194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:40.759670"], ["updated_at", "2015-05-25 17:21:40.759670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:40.766850"], ["updated_at", "2015-05-25 17:21:40.766850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:40.769364"], ["updated_at", "2015-05-25 17:21:40.769364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:40.772732"], ["updated_at", "2015-05-25 17:21:40.772732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:40.775373"], ["updated_at", "2015-05-25 17:21:40.775373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:40.780184"], ["updated_at", "2015-05-25 17:21:40.780184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:40.786732"], ["updated_at", "2015-05-25 17:21:40.786732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:40.789638"], ["updated_at", "2015-05-25 17:21:40.789638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:40.792727"], ["updated_at", "2015-05-25 17:21:40.792727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:40.797139"], ["updated_at", "2015-05-25 17:21:40.797139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:40.800817"], ["updated_at", "2015-05-25 17:21:40.800817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:21:40.803606"], ["updated_at", "2015-05-25 17:21:40.803606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:22:12.276759"], ["updated_at", "2015-05-25 17:22:12.276759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:22:12.285024"], ["updated_at", "2015-05-25 17:22:12.285024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:22:12.287897"], ["updated_at", "2015-05-25 17:22:12.287897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:22:12.291017"], ["updated_at", "2015-05-25 17:22:12.291017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:22:12.293505"], ["updated_at", "2015-05-25 17:22:12.293505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:22:12.296703"], ["updated_at", "2015-05-25 17:22:12.296703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:22:12.304048"], ["updated_at", "2015-05-25 17:22:12.304048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:22:12.306715"], ["updated_at", "2015-05-25 17:22:12.306715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:22:12.309368"], ["updated_at", "2015-05-25 17:22:12.309368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:22:12.314777"], ["updated_at", "2015-05-25 17:22:12.314777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:22:12.318405"], ["updated_at", "2015-05-25 17:22:12.318405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:22:12.321519"], ["updated_at", "2015-05-25 17:22:12.321519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.183873"], ["updated_at", "2015-05-25 17:23:10.183873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.191015"], ["updated_at", "2015-05-25 17:23:10.191015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.194280"], ["updated_at", "2015-05-25 17:23:10.194280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.198032"], ["updated_at", "2015-05-25 17:23:10.198032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.200814"], ["updated_at", "2015-05-25 17:23:10.200814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.203750"], ["updated_at", "2015-05-25 17:23:10.203750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.206935"], ["updated_at", "2015-05-25 17:23:10.206935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.213115"], ["updated_at", "2015-05-25 17:23:10.213115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.216514"], ["updated_at", "2015-05-25 17:23:10.216514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.222058"], ["updated_at", "2015-05-25 17:23:10.222058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.225632"], ["updated_at", "2015-05-25 17:23:10.225632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.228875"], ["updated_at", "2015-05-25 17:23:10.228875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:23:10.234256"], ["updated_at", "2015-05-25 17:23:10.234256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.068214"], ["updated_at", "2015-05-25 17:25:57.068214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.076762"], ["updated_at", "2015-05-25 17:25:57.076762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.080247"], ["updated_at", "2015-05-25 17:25:57.080247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.082513"], ["updated_at", "2015-05-25 17:25:57.082513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.085524"], ["updated_at", "2015-05-25 17:25:57.085524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.092433"], ["updated_at", "2015-05-25 17:25:57.092433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.095504"], ["updated_at", "2015-05-25 17:25:57.095504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.098212"], ["updated_at", "2015-05-25 17:25:57.098212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.100869"], ["updated_at", "2015-05-25 17:25:57.100869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.103722"], ["updated_at", "2015-05-25 17:25:57.103722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.106548"], ["updated_at", "2015-05-25 17:25:57.106548"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.109635"], ["updated_at", "2015-05-25 17:25:57.109635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.112424"], ["updated_at", "2015-05-25 17:25:57.112424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:25:57.116619"], ["updated_at", "2015-05-25 17:25:57.116619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.230433"], ["updated_at", "2015-05-25 17:26:18.230433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.243808"], ["updated_at", "2015-05-25 17:26:18.243808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.246683"], ["updated_at", "2015-05-25 17:26:18.246683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.249350"], ["updated_at", "2015-05-25 17:26:18.249350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.252010"], ["updated_at", "2015-05-25 17:26:18.252010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.254605"], ["updated_at", "2015-05-25 17:26:18.254605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.260019"], ["updated_at", "2015-05-25 17:26:18.260019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.264361"], ["updated_at", "2015-05-25 17:26:18.264361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.271312"], ["updated_at", "2015-05-25 17:26:18.271312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.274489"], ["updated_at", "2015-05-25 17:26:18.274489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.276922"], ["updated_at", "2015-05-25 17:26:18.276922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.279902"], ["updated_at", "2015-05-25 17:26:18.279902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.283646"], ["updated_at", "2015-05-25 17:26:18.283646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:26:18.286090"], ["updated_at", "2015-05-25 17:26:18.286090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.692045"], ["updated_at", "2015-05-25 17:27:06.692045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.700224"], ["updated_at", "2015-05-25 17:27:06.700224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.703456"], ["updated_at", "2015-05-25 17:27:06.703456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.709799"], ["updated_at", "2015-05-25 17:27:06.709799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.713100"], ["updated_at", "2015-05-25 17:27:06.713100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.715978"], ["updated_at", "2015-05-25 17:27:06.715978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.721174"], ["updated_at", "2015-05-25 17:27:06.721174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.724776"], ["updated_at", "2015-05-25 17:27:06.724776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.728564"], ["updated_at", "2015-05-25 17:27:06.728564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.734104"], ["updated_at", "2015-05-25 17:27:06.734104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.737112"], ["updated_at", "2015-05-25 17:27:06.737112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.739664"], ["updated_at", "2015-05-25 17:27:06.739664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.742798"], ["updated_at", "2015-05-25 17:27:06.742798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.745725"], ["updated_at", "2015-05-25 17:27:06.745725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:06.748755"], ["updated_at", "2015-05-25 17:27:06.748755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.6ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.841001"], ["updated_at", "2015-05-25 17:27:18.841001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.848738"], ["updated_at", "2015-05-25 17:27:18.848738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.851499"], ["updated_at", "2015-05-25 17:27:18.851499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.856973"], ["updated_at", "2015-05-25 17:27:18.856973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.860178"], ["updated_at", "2015-05-25 17:27:18.860178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.863360"], ["updated_at", "2015-05-25 17:27:18.863360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.866428"], ["updated_at", "2015-05-25 17:27:18.866428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.869501"], ["updated_at", "2015-05-25 17:27:18.869501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.875259"], ["updated_at", "2015-05-25 17:27:18.875259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.880236"], ["updated_at", "2015-05-25 17:27:18.880236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.882813"], ["updated_at", "2015-05-25 17:27:18.882813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.885753"], ["updated_at", "2015-05-25 17:27:18.885753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.888266"], ["updated_at", "2015-05-25 17:27:18.888266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.891202"], ["updated_at", "2015-05-25 17:27:18.891202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:27:18.894268"], ["updated_at", "2015-05-25 17:27:18.894268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.749355"], ["updated_at", "2015-05-25 17:28:36.749355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.762032"], ["updated_at", "2015-05-25 17:28:36.762032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.765713"], ["updated_at", "2015-05-25 17:28:36.765713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.768971"], ["updated_at", "2015-05-25 17:28:36.768971"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.772129"], ["updated_at", "2015-05-25 17:28:36.772129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.776481"], ["updated_at", "2015-05-25 17:28:36.776481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.779360"], ["updated_at", "2015-05-25 17:28:36.779360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.781892"], ["updated_at", "2015-05-25 17:28:36.781892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.784351"], ["updated_at", "2015-05-25 17:28:36.784351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.789916"], ["updated_at", "2015-05-25 17:28:36.789916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.795706"], ["updated_at", "2015-05-25 17:28:36.795706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.799554"], ["updated_at", "2015-05-25 17:28:36.799554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.802601"], ["updated_at", "2015-05-25 17:28:36.802601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.806163"], ["updated_at", "2015-05-25 17:28:36.806163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.808883"], ["updated_at", "2015-05-25 17:28:36.808883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:36.811848"], ["updated_at", "2015-05-25 17:28:36.811848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:44.964268"], ["updated_at", "2015-05-25 17:28:44.964268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:44.971384"], ["updated_at", "2015-05-25 17:28:44.971384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:44.974625"], ["updated_at", "2015-05-25 17:28:44.974625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:44.980215"], ["updated_at", "2015-05-25 17:28:44.980215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:44.983524"], ["updated_at", "2015-05-25 17:28:44.983524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:44.986120"], ["updated_at", "2015-05-25 17:28:44.986120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:44.989768"], ["updated_at", "2015-05-25 17:28:44.989768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:44.992552"], ["updated_at", "2015-05-25 17:28:44.992552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:44.999496"], ["updated_at", "2015-05-25 17:28:44.999496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:45.003845"], ["updated_at", "2015-05-25 17:28:45.003845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:45.006421"], ["updated_at", "2015-05-25 17:28:45.006421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:45.009037"], ["updated_at", "2015-05-25 17:28:45.009037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:45.011422"], ["updated_at", "2015-05-25 17:28:45.011422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:45.014346"], ["updated_at", "2015-05-25 17:28:45.014346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:45.017337"], ["updated_at", "2015-05-25 17:28:45.017337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:28:45.020296"], ["updated_at", "2015-05-25 17:28:45.020296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.195494"], ["updated_at", "2015-05-25 17:29:01.195494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:29:01.174434"], ["created_at", "2015-05-25 17:29:01.201326"], ["updated_at", "2015-05-25 17:29:01.201326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.212027"], ["updated_at", "2015-05-25 17:29:01.212027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.215139"], ["updated_at", "2015-05-25 17:29:01.215139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.218053"], ["updated_at", "2015-05-25 17:29:01.218053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 17:29:01.220604"], ["updated_at", "2015-05-25 17:29:01.220604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:29:01.221951"], ["updated_at", "2015-05-25 17:29:01.222338"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.227422"], ["updated_at", "2015-05-25 17:29:01.227422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:29:01.226066"], ["created_at", "2015-05-25 17:29:01.228882"], ["updated_at", "2015-05-25 17:29:01.228882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.234638"], ["updated_at", "2015-05-25 17:29:01.234638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.236599"], ["updated_at", "2015-05-25 17:29:01.236599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.238411"], ["updated_at", "2015-05-25 17:29:01.238411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:29:00.990689"], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.240536"], ["updated_at", "2015-05-25 17:29:01.240536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.248450"], ["updated_at", "2015-05-25 17:29:01.248450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.250559"], ["updated_at", "2015-05-25 17:29:01.250559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.252055"], ["updated_at", "2015-05-25 17:29:01.252055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.268480"], ["updated_at", "2015-05-25 17:29:01.268480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:29:01.269811"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.271502"], ["updated_at", "2015-05-25 17:29:01.271502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.273139"], ["updated_at", "2015-05-25 17:29:01.273139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.274745"], ["updated_at", "2015-05-25 17:29:01.274745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.277229"], ["updated_at", "2015-05-25 17:29:01.277229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 17:29:01.278297"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.279826"], ["updated_at", "2015-05-25 17:29:01.279826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.281656"], ["updated_at", "2015-05-25 17:29:01.281656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.283456"], ["updated_at", "2015-05-25 17:29:01.283456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.286072"], ["updated_at", "2015-05-25 17:29:01.286072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:29:01.287212"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.290518"], ["updated_at", "2015-05-25 17:29:01.290518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.293701"], ["updated_at", "2015-05-25 17:29:01.293701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.295106"], ["updated_at", "2015-05-25 17:29:01.295106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.298256"], ["updated_at", "2015-05-25 17:29:01.298256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:29:01.299428"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.300945"], ["updated_at", "2015-05-25 17:29:01.300945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.303095"], ["updated_at", "2015-05-25 17:29:01.303095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.305254"], ["updated_at", "2015-05-25 17:29:01.305254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.307873"], ["updated_at", "2015-05-25 17:29:01.307873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:29:01.308921"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.310396"], ["updated_at", "2015-05-25 17:29:01.310396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.312199"], ["updated_at", "2015-05-25 17:29:01.312199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.314085"], ["updated_at", "2015-05-25 17:29:01.314085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.316817"], ["updated_at", "2015-05-25 17:29:01.316817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:29:01.317916"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.319682"], ["updated_at", "2015-05-25 17:29:01.319682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.321611"], ["updated_at", "2015-05-25 17:29:01.321611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.323861"], ["updated_at", "2015-05-25 17:29:01.323861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.326599"], ["updated_at", "2015-05-25 17:29:01.326599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:29:01.328057"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 17:29:01.359643"], ["updated_at", "2015-05-25 17:29:01.359643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.361321"], ["updated_at", "2015-05-25 17:29:01.361321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:29:01.362003"], ["current_period_start", "2015-05-25 17:29:01.362003"], ["current_period_end", "2015-06-25 17:29:01.362003"], ["created_at", "2015-05-25 17:29:01.362886"], ["updated_at", "2015-05-25 17:29:01.362886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.368750"], ["updated_at", "2015-05-25 17:29:01.368750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.371708"], ["updated_at", "2015-05-25 17:29:01.371708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.373290"], ["updated_at", "2015-05-25 17:29:01.373290"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.375048"], ["updated_at", "2015-05-25 17:29:01.375048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.376434"], ["updated_at", "2015-05-25 17:29:01.376434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.378383"], ["updated_at", "2015-05-25 17:29:01.378383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.380108"], ["updated_at", "2015-05-25 17:29:01.380108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:29:00.990689"], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.381447"], ["updated_at", "2015-05-25 17:29:01.381447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.383827"], ["updated_at", "2015-05-25 17:29:01.383827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.386964"], ["updated_at", "2015-05-25 17:29:01.386964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.388632"], ["updated_at", "2015-05-25 17:29:01.388632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.390604"], ["updated_at", "2015-05-25 17:29:01.390604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.392269"], ["updated_at", "2015-05-25 17:29:01.392269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:29:00.990689"], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.393647"], ["updated_at", "2015-05-25 17:29:01.393647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.395389"], ["updated_at", "2015-05-25 17:29:01.395389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 17:29:01.394304"], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.396959"], ["updated_at", "2015-05-25 17:29:01.396959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.399909"], ["updated_at", "2015-05-25 17:29:01.399909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.401488"], ["updated_at", "2015-05-25 17:29:01.401488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.402875"], ["updated_at", "2015-05-25 17:29:01.402875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.404680"], ["updated_at", "2015-05-25 17:29:01.404680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.406386"], ["updated_at", "2015-05-25 17:29:01.406386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:29:00.990689"], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.407785"], ["updated_at", "2015-05-25 17:29:01.407785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.411491"], ["updated_at", "2015-05-25 17:29:01.411491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:29:00.990689"], ["created_at", "2015-05-25 17:29:01.412775"], ["updated_at", "2015-05-25 17:29:01.412775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:29:01.414888"], ["updated_at", "2015-05-25 17:29:01.414888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.417188"], ["updated_at", "2015-05-25 17:29:01.417188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.418638"], ["updated_at", "2015-05-25 17:29:01.418638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.420100"], ["updated_at", "2015-05-25 17:29:01.420100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:29:01.421760"], ["updated_at", "2015-05-25 17:29:01.421760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.423640"], ["updated_at", "2015-05-25 17:29:01.423640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.426076"], ["updated_at", "2015-05-25 17:29:01.426076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.427699"], ["updated_at", "2015-05-25 17:29:01.427699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:29:01.429335"], ["updated_at", "2015-05-25 17:29:01.429335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.431171"], ["updated_at", "2015-05-25 17:29:01.431171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.432893"], ["updated_at", "2015-05-25 17:29:01.432893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.434677"], ["updated_at", "2015-05-25 17:29:01.434677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:29:01.436780"], ["updated_at", "2015-05-25 17:29:01.436780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.438615"], ["updated_at", "2015-05-25 17:29:01.438615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.440007"], ["updated_at", "2015-05-25 17:29:01.440007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.441294"], ["updated_at", "2015-05-25 17:29:01.441294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.443318"], ["updated_at", "2015-05-25 17:29:01.443318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:29:01.444247"], ["updated_at", "2015-05-25 17:29:01.444247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.446731"], ["updated_at", "2015-05-25 17:29:01.446731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.448127"], ["updated_at", "2015-05-25 17:29:01.448127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:29:01.449890"], ["updated_at", "2015-05-25 17:29:01.449890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.451814"], ["updated_at", "2015-05-25 17:29:01.451814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 14:29:01.450553"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.453218"], ["updated_at", "2015-05-25 17:29:01.453218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 14:29:01.450553"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.454594"], ["updated_at", "2015-05-25 17:29:01.454594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:29:01.460403"], ["updated_at", "2015-05-25 17:29:01.460403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.462398"], ["updated_at", "2015-05-25 17:29:01.462398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.464061"], ["updated_at", "2015-05-25 17:29:01.464061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.465463"], ["updated_at", "2015-05-25 17:29:01.465463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:29:01.467736"], ["updated_at", "2015-05-25 17:29:01.467736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.470095"], ["updated_at", "2015-05-25 17:29:01.470095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 20:29:01.468626"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.471757"], ["updated_at", "2015-05-25 17:29:01.471757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 20:29:01.468626"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.473294"], ["updated_at", "2015-05-25 17:29:01.473294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.476232"], ["updated_at", "2015-05-25 17:29:01.476232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:29:01.477316"], ["updated_at", "2015-05-25 17:29:01.477316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.478883"], ["updated_at", "2015-05-25 17:29:01.478883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.480365"], ["updated_at", "2015-05-25 17:29:01.480365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.481941"], ["updated_at", "2015-05-25 17:29:01.481941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.483387"], ["updated_at", "2015-05-25 17:29:01.483387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.485209"], ["updated_at", "2015-05-25 17:29:01.485209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.486671"], ["updated_at", "2015-05-25 17:29:01.486671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.489312"], ["updated_at", "2015-05-25 17:29:01.489312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:29:01.490089"], ["updated_at", "2015-05-25 17:29:01.490425"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.492627"], ["updated_at", "2015-05-25 17:29:01.492627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.494052"], ["updated_at", "2015-05-25 17:29:01.494052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.495910"], ["updated_at", "2015-05-25 17:29:01.495910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.497252"], ["updated_at", "2015-05-25 17:29:01.497252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.499707"], ["updated_at", "2015-05-25 17:29:01.499707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:29:01.500469"], ["updated_at", "2015-05-25 17:29:01.500799"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.503699"], ["updated_at", "2015-05-25 17:29:01.503699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.507701"], ["updated_at", "2015-05-25 17:29:01.507701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.511374"], ["updated_at", "2015-05-25 17:29:01.511374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.513857"], ["updated_at", "2015-05-25 17:29:01.513857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.516438"], ["updated_at", "2015-05-25 17:29:01.516438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.519359"], ["updated_at", "2015-05-25 17:29:01.519359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.522625"], ["updated_at", "2015-05-25 17:29:01.522625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.526073"], ["updated_at", "2015-05-25 17:29:01.526073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.530465"], ["updated_at", "2015-05-25 17:29:01.530465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.532885"], ["updated_at", "2015-05-25 17:29:01.532885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.536971"], ["updated_at", "2015-05-25 17:29:01.536971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.540401"], ["updated_at", "2015-05-25 17:29:01.540401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.543210"], ["updated_at", "2015-05-25 17:29:01.543210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.545450"], ["updated_at", "2015-05-25 17:29:01.545450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.547816"], ["updated_at", "2015-05-25 17:29:01.547816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.551584"], ["updated_at", "2015-05-25 17:29:01.551584"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.554112"], ["updated_at", "2015-05-25 17:29:01.554112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 17:29:01.576227"], ["updated_at", "2015-05-25 17:29:01.576227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 17:29:01.577766"], ["updated_at", "2015-05-25 17:29:01.577766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.579151"], ["updated_at", "2015-05-25 17:29:01.579151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.581569"], ["updated_at", "2015-05-25 17:29:01.581569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.582809"], ["updated_at", "2015-05-25 17:29:01.582809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.584089"], ["updated_at", "2015-05-25 17:29:01.584089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.585760"], ["updated_at", "2015-05-25 17:29:01.585760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.587097"], ["updated_at", "2015-05-25 17:29:01.587097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.588720"], ["updated_at", "2015-05-25 17:29:01.588720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.589982"], ["updated_at", "2015-05-25 17:29:01.589982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.592511"], ["updated_at", "2015-05-25 17:29:01.592511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:29:01.593311"], ["updated_at", "2015-05-25 17:29:01.593637"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:29:01.594257"], ["current_period_start", "2015-05-25 17:29:01.594257"], ["current_period_end", "2015-06-25 17:29:01.594257"], ["created_at", "2015-05-25 17:29:01.594773"], ["updated_at", "2015-05-25 17:29:01.594773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.597481"], ["updated_at", "2015-05-25 17:29:01.597481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.600296"], ["updated_at", "2015-05-25 17:29:01.600296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.602183"], ["updated_at", "2015-05-25 17:29:01.602183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.603579"], ["updated_at", "2015-05-25 17:29:01.603579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.606066"], ["updated_at", "2015-05-25 17:29:01.606066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:29:01.607018"], ["updated_at", "2015-05-25 17:29:01.607386"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:29:01.608018"], ["current_period_start", "2015-05-25 17:29:01.608018"], ["current_period_end", "2015-06-25 17:29:01.608018"], ["created_at", "2015-05-25 17:29:01.608615"], ["updated_at", "2015-05-25 17:29:01.608615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.610395"], ["updated_at", "2015-05-25 17:29:01.610395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.611912"], ["updated_at", "2015-05-25 17:29:01.611912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.613693"], ["updated_at", "2015-05-25 17:29:01.613693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:29:01.614970"], ["updated_at", "2015-05-25 17:29:01.614970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:29:01.618045"], ["updated_at", "2015-05-25 17:29:01.618045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:29:01.618869"], ["updated_at", "2015-05-25 17:29:01.619251"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:29:01.620162"], ["current_period_start", "2015-05-25 17:29:01.620162"], ["current_period_end", "2015-06-25 17:29:01.620162"], ["created_at", "2015-05-25 17:29:01.620742"], ["updated_at", "2015-05-25 17:29:01.620742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.622970"], ["updated_at", "2015-05-25 17:29:01.622970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.624610"], ["updated_at", "2015-05-25 17:29:01.624610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:29:01.625874"], ["current_period_start", "2015-05-25 17:29:01.625874"], ["current_period_end", "2015-06-25 17:29:01.625874"], ["created_at", "2015-05-25 17:29:01.626879"], ["updated_at", "2015-05-25 17:29:01.626879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:29:01.629010"], ["updated_at", "2015-05-25 17:29:01.629010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:29:01.630835"], ["updated_at", "2015-05-25 17:29:01.630835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:29:01.632252"], ["current_period_start", "2015-05-25 17:29:01.632252"], ["current_period_end", "2015-06-25 17:29:01.632252"], ["created_at", "2015-05-25 17:29:01.632882"], ["updated_at", "2015-05-25 17:29:01.632882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:26.108218"], ["updated_at", "2015-05-25 17:34:26.108218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:26.120859"], ["updated_at", "2015-05-25 17:34:26.120859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:26.130842"], ["updated_at", "2015-05-25 17:34:26.130842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:34:25.986744"], ["owner_id", 1], ["created_at", "2015-05-25 17:34:26.136124"], ["updated_at", "2015-05-25 17:34:26.136124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:26.143240"], ["updated_at", "2015-05-25 17:34:26.143240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:26.145166"], ["updated_at", "2015-05-25 17:34:26.145166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:26.147170"], ["updated_at", "2015-05-25 17:34:26.147170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:26.148663"], ["updated_at", "2015-05-25 17:34:26.148663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:26.159867"], ["updated_at", "2015-05-25 17:34:26.159867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:34:26.161638"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:26.165489"], ["updated_at", "2015-05-25 17:34:26.165489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:26.167438"], ["updated_at", "2015-05-25 17:34:26.167438"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:26.169470"], ["updated_at", "2015-05-25 17:34:26.169470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:26.172253"], ["updated_at", "2015-05-25 17:34:26.172253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 17:34:26.173798"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:26.178179"], ["updated_at", "2015-05-25 17:34:26.178179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:26.186764"], ["updated_at", "2015-05-25 17:34:26.186764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:26.188514"], ["updated_at", "2015-05-25 17:34:26.188514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:26.191376"], ["updated_at", "2015-05-25 17:34:26.191376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:34:26.192884"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:26.194573"], ["updated_at", "2015-05-25 17:34:26.194573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:26.196713"], ["updated_at", "2015-05-25 17:34:26.196713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 17:34:26.198259"], ["updated_at", "2015-05-25 17:34:26.198259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:26.200885"], ["updated_at", "2015-05-25 17:34:26.200885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:34:26.202039"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:26.203654"], ["updated_at", "2015-05-25 17:34:26.203654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:26.205528"], ["updated_at", "2015-05-25 17:34:26.205528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:26.207148"], ["updated_at", "2015-05-25 17:34:26.207148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:26.210221"], ["updated_at", "2015-05-25 17:34:26.210221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:34:26.211750"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:26.213589"], ["updated_at", "2015-05-25 17:34:26.213589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:26.215995"], ["updated_at", "2015-05-25 17:34:26.215995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:26.219200"], ["updated_at", "2015-05-25 17:34:26.219200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:26.222671"], ["updated_at", "2015-05-25 17:34:26.222671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:34:26.224030"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.2ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:26.227773"], ["updated_at", "2015-05-25 17:34:26.227773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:26.229638"], ["updated_at", "2015-05-25 17:34:26.229638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:26.231773"], ["updated_at", "2015-05-25 17:34:26.231773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:26.234649"], ["updated_at", "2015-05-25 17:34:26.234649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:34:26.235946"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:26.238018"], ["updated_at", "2015-05-25 17:34:26.238018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:26.240551"], ["updated_at", "2015-05-25 17:34:26.240551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:26.242222"], ["updated_at", "2015-05-25 17:34:26.242222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:26.245077"], ["updated_at", "2015-05-25 17:34:26.245077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:34:26.246342"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:47.641466"], ["updated_at", "2015-05-25 17:34:47.641466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:47.655910"], ["updated_at", "2015-05-25 17:34:47.655910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:47.665262"], ["updated_at", "2015-05-25 17:34:47.665262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [36m (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:47.671012"], ["updated_at", "2015-05-25 17:34:47.671012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-27 00:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:47.687449"], ["updated_at", "2015-05-25 17:34:47.687449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-27 00:00:00.000000"], ["current_period_end", "2015-06-27 00:00:00.000000"], ["updated_at", "2015-05-25 17:34:47.689609"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:47.694900"], ["updated_at", "2015-05-25 17:34:47.694900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:47.697167"], ["updated_at", "2015-05-25 17:34:47.697167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:47.699441"], ["updated_at", "2015-05-25 17:34:47.699441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:34:47.522760"], ["owner_id", 1], ["created_at", "2015-05-25 17:34:47.701018"], ["updated_at", "2015-05-25 17:34:47.701018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:47.703657"], ["updated_at", "2015-05-25 17:34:47.703657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:47.705915"], ["updated_at", "2015-05-25 17:34:47.705915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:47.708387"], ["updated_at", "2015-05-25 17:34:47.708387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:47.711460"], ["updated_at", "2015-05-25 17:34:47.711460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 17:34:47.712668"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:47.714727"], ["updated_at", "2015-05-25 17:34:47.714727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:47.722965"], ["updated_at", "2015-05-25 17:34:47.722965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:47.724798"], ["updated_at", "2015-05-25 17:34:47.724798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:47.727886"], ["updated_at", "2015-05-25 17:34:47.727886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:34:47.729149"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:47.731966"], ["updated_at", "2015-05-25 17:34:47.731966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:47.734303"], ["updated_at", "2015-05-25 17:34:47.734303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:47.737715"], ["updated_at", "2015-05-25 17:34:47.737715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:47.741433"], ["updated_at", "2015-05-25 17:34:47.741433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:34:47.742798"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:47.746373"], ["updated_at", "2015-05-25 17:34:47.746373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:47.749064"], ["updated_at", "2015-05-25 17:34:47.749064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:47.751042"], ["updated_at", "2015-05-25 17:34:47.751042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:47.753826"], ["updated_at", "2015-05-25 17:34:47.753826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:34:47.755429"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:47.757155"], ["updated_at", "2015-05-25 17:34:47.757155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:47.759232"], ["updated_at", "2015-05-25 17:34:47.759232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 17:34:47.761055"], ["updated_at", "2015-05-25 17:34:47.761055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:47.763813"], ["updated_at", "2015-05-25 17:34:47.763813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:34:47.765030"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:47.766405"], ["updated_at", "2015-05-25 17:34:47.766405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:47.768308"], ["updated_at", "2015-05-25 17:34:47.768308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:47.769674"], ["updated_at", "2015-05-25 17:34:47.769674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:47.772146"], ["updated_at", "2015-05-25 17:34:47.772146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:34:47.773268"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:34:47.775230"], ["updated_at", "2015-05-25 17:34:47.775230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:34:47.779438"], ["updated_at", "2015-05-25 17:34:47.779438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:34:47.781337"], ["updated_at", "2015-05-25 17:34:47.781337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:34:47.784128"], ["updated_at", "2015-05-25 17:34:47.784128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:34:47.785332"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:00.159195"], ["updated_at", "2015-05-25 17:36:00.159195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:00.173482"], ["updated_at", "2015-05-25 17:36:00.173482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:00.182484"], ["updated_at", "2015-05-25 17:36:00.182484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:36:00.033379"], ["owner_id", 1], ["created_at", "2015-05-25 17:36:00.189396"], ["updated_at", "2015-05-25 17:36:00.189396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:00.197375"], ["updated_at", "2015-05-25 17:36:00.197375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:00.199523"], ["updated_at", "2015-05-25 17:36:00.199523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:00.201916"], ["updated_at", "2015-05-25 17:36:00.201916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:00.204329"], ["updated_at", "2015-05-25 17:36:00.204329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:00.206726"], ["updated_at", "2015-05-25 17:36:00.206726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:00.208866"], ["updated_at", "2015-05-25 17:36:00.208866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 17:36:00.210894"], ["updated_at", "2015-05-25 17:36:00.210894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:00.222909"], ["updated_at", "2015-05-25 17:36:00.222909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:36:00.225804"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:00.230783"], ["updated_at", "2015-05-25 17:36:00.230783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:00.233749"], ["updated_at", "2015-05-25 17:36:00.233749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:00.236792"], ["updated_at", "2015-05-25 17:36:00.236792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:00.244980"], ["updated_at", "2015-05-25 17:36:00.244980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 17:36:00.246506"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:00.248533"], ["updated_at", "2015-05-25 17:36:00.248533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:00.250523"], ["updated_at", "2015-05-25 17:36:00.250523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:00.252005"], ["updated_at", "2015-05-25 17:36:00.252005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:00.254639"], ["updated_at", "2015-05-25 17:36:00.254639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:36:00.255918"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:00.257440"], ["updated_at", "2015-05-25 17:36:00.257440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:00.259436"], ["updated_at", "2015-05-25 17:36:00.259436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:00.260843"], ["updated_at", "2015-05-25 17:36:00.260843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:00.263600"], ["updated_at", "2015-05-25 17:36:00.263600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:36:00.265993"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:00.269100"], ["updated_at", "2015-05-25 17:36:00.269100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:00.271109"], ["updated_at", "2015-05-25 17:36:00.271109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:00.273191"], ["updated_at", "2015-05-25 17:36:00.273191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:00.275921"], ["updated_at", "2015-05-25 17:36:00.275921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:36:00.277163"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:00.280709"], ["updated_at", "2015-05-25 17:36:00.280709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:00.283050"], ["updated_at", "2015-05-25 17:36:00.283050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:00.284837"], ["updated_at", "2015-05-25 17:36:00.284837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:00.287651"], ["updated_at", "2015-05-25 17:36:00.287651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:36:00.288873"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:00.291398"], ["updated_at", "2015-05-25 17:36:00.291398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:00.293303"], ["updated_at", "2015-05-25 17:36:00.293303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:00.295907"], ["updated_at", "2015-05-25 17:36:00.295907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:00.299373"], ["updated_at", "2015-05-25 17:36:00.299373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:36:00.300664"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:43.866335"], ["updated_at", "2015-05-25 17:36:43.866335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.878885"], ["updated_at", "2015-05-25 17:36:43.878885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:36:43.887204"], ["current_period_start", "2015-05-25 17:36:43.887204"], ["current_period_end", "2015-06-25 17:36:43.887204"], ["created_at", "2015-05-25 17:36:43.895388"], ["updated_at", "2015-05-25 17:36:43.895388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:43.898330"], ["updated_at", "2015-05-25 17:36:43.898330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.900320"], ["updated_at", "2015-05-25 17:36:43.900320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:36:43.901703"], ["current_period_start", "2015-05-25 17:36:43.901703"], ["current_period_end", "2015-06-25 17:36:43.901703"], ["created_at", "2015-05-25 17:36:43.902356"], ["updated_at", "2015-05-25 17:36:43.902356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:43.905413"], ["updated_at", "2015-05-25 17:36:43.905413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.907017"], ["updated_at", "2015-05-25 17:36:43.907017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.909054"], ["updated_at", "2015-05-25 17:36:43.909054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:43.911447"], ["updated_at", "2015-05-25 17:36:43.911447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:43.922620"], ["updated_at", "2015-05-25 17:36:43.922620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:36:43.923760"], ["updated_at", "2015-05-25 17:36:43.924199"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:36:43.926891"], ["current_period_start", "2015-05-25 17:36:43.926891"], ["current_period_end", "2015-06-25 17:36:43.926891"], ["created_at", "2015-05-25 17:36:43.927566"], ["updated_at", "2015-05-25 17:36:43.927566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:43.931831"], ["updated_at", "2015-05-25 17:36:43.931831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.933735"], ["updated_at", "2015-05-25 17:36:43.933735"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.936219"], ["updated_at", "2015-05-25 17:36:43.936219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:43.937874"], ["updated_at", "2015-05-25 17:36:43.937874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:43.940991"], ["updated_at", "2015-05-25 17:36:43.940991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:36:43.941871"], ["updated_at", "2015-05-25 17:36:43.942285"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:36:43.942984"], ["current_period_start", "2015-05-25 17:36:43.942984"], ["current_period_end", "2015-06-25 17:36:43.942984"], ["created_at", "2015-05-25 17:36:43.943587"], ["updated_at", "2015-05-25 17:36:43.943587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:43.946192"], ["updated_at", "2015-05-25 17:36:43.946192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.948110"], ["updated_at", "2015-05-25 17:36:43.948110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.956431"], ["updated_at", "2015-05-25 17:36:43.956431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:43.958053"], ["updated_at", "2015-05-25 17:36:43.958053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:43.960819"], ["updated_at", "2015-05-25 17:36:43.960819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:36:43.961656"], ["updated_at", "2015-05-25 17:36:43.962011"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:36:43.962635"], ["current_period_start", "2015-05-25 17:36:43.962635"], ["current_period_end", "2015-06-25 17:36:43.962635"], ["created_at", "2015-05-25 17:36:43.963187"], ["updated_at", "2015-05-25 17:36:43.963187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.966216"], ["updated_at", "2015-05-25 17:36:43.966216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.968065"], ["updated_at", "2015-05-25 17:36:43.968065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.969668"], ["updated_at", "2015-05-25 17:36:43.969668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 17:36:43.974186"], ["updated_at", "2015-05-25 17:36:43.974186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 17:36:43.978172"], ["updated_at", "2015-05-25 17:36:43.978172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.980946"], ["updated_at", "2015-05-25 17:36:43.980946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:43.995692"], ["updated_at", "2015-05-25 17:36:43.995692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.010407"], ["updated_at", "2015-05-25 17:36:44.010407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:36:44.008739"], ["created_at", "2015-05-25 17:36:44.012861"], ["updated_at", "2015-05-25 17:36:44.012861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.015830"], ["updated_at", "2015-05-25 17:36:44.015830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 17:36:44.017399"], ["updated_at", "2015-05-25 17:36:44.017399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:36:44.018161"], ["updated_at", "2015-05-25 17:36:44.018494"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.020502"], ["updated_at", "2015-05-25 17:36:44.020502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.022353"], ["updated_at", "2015-05-25 17:36:44.022353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:36:43.666270"], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.023816"], ["updated_at", "2015-05-25 17:36:44.023816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.026717"], ["updated_at", "2015-05-25 17:36:44.026717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.028670"], ["updated_at", "2015-05-25 17:36:44.028670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.030099"], ["updated_at", "2015-05-25 17:36:44.030099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.032172"], ["updated_at", "2015-05-25 17:36:44.032172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.033918"], ["updated_at", "2015-05-25 17:36:44.033918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.035688"], ["updated_at", "2015-05-25 17:36:44.035688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:36:43.666270"], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.037990"], ["updated_at", "2015-05-25 17:36:44.037990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.040127"], ["updated_at", "2015-05-25 17:36:44.040127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.042394"], ["updated_at", "2015-05-25 17:36:44.042394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.044271"], ["updated_at", "2015-05-25 17:36:44.044271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.047604"], ["updated_at", "2015-05-25 17:36:44.047604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.049478"], ["updated_at", "2015-05-25 17:36:44.049478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:36:43.666270"], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.050858"], ["updated_at", "2015-05-25 17:36:44.050858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.053391"], ["updated_at", "2015-05-25 17:36:44.053391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 17:36:44.051574"], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.055771"], ["updated_at", "2015-05-25 17:36:44.055771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.058423"], ["updated_at", "2015-05-25 17:36:44.058423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.060704"], ["updated_at", "2015-05-25 17:36:44.060704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.062231"], ["updated_at", "2015-05-25 17:36:44.062231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.066413"], ["updated_at", "2015-05-25 17:36:44.066413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:36:43.666270"], ["created_at", "2015-05-25 17:36:44.068455"], ["updated_at", "2015-05-25 17:36:44.068455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:36:44.070065"], ["updated_at", "2015-05-25 17:36:44.070065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.071886"], ["updated_at", "2015-05-25 17:36:44.071886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 14:36:44.070679"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.073249"], ["updated_at", "2015-05-25 17:36:44.073249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 14:36:44.070679"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.074737"], ["updated_at", "2015-05-25 17:36:44.074737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:36:44.080224"], ["updated_at", "2015-05-25 17:36:44.080224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.082242"], ["updated_at", "2015-05-25 17:36:44.082242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.083765"], ["updated_at", "2015-05-25 17:36:44.083765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.085072"], ["updated_at", "2015-05-25 17:36:44.085072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.087585"], ["updated_at", "2015-05-25 17:36:44.087585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:36:44.088537"], ["updated_at", "2015-05-25 17:36:44.088537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.090102"], ["updated_at", "2015-05-25 17:36:44.090102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.091349"], ["updated_at", "2015-05-25 17:36:44.091349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.093417"], ["updated_at", "2015-05-25 17:36:44.093417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:36:44.095229"], ["updated_at", "2015-05-25 17:36:44.095229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.098161"], ["updated_at", "2015-05-25 17:36:44.098161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.099990"], ["updated_at", "2015-05-25 17:36:44.099990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:36:44.101489"], ["updated_at", "2015-05-25 17:36:44.101489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.103263"], ["updated_at", "2015-05-25 17:36:44.103263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 20:36:44.102077"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.104675"], ["updated_at", "2015-05-25 17:36:44.104675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 20:36:44.102077"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.106052"], ["updated_at", "2015-05-25 17:36:44.106052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:36:44.107539"], ["updated_at", "2015-05-25 17:36:44.107539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.109149"], ["updated_at", "2015-05-25 17:36:44.109149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.110823"], ["updated_at", "2015-05-25 17:36:44.110823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.112373"], ["updated_at", "2015-05-25 17:36:44.112373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:36:44.113997"], ["updated_at", "2015-05-25 17:36:44.113997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.116257"], ["updated_at", "2015-05-25 17:36:44.116257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.117794"], ["updated_at", "2015-05-25 17:36:44.117794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.119057"], ["updated_at", "2015-05-25 17:36:44.119057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:36:44.120547"], ["updated_at", "2015-05-25 17:36:44.120547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.122148"], ["updated_at", "2015-05-25 17:36:44.122148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.123476"], ["updated_at", "2015-05-25 17:36:44.123476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.124747"], ["updated_at", "2015-05-25 17:36:44.124747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:36:44.126245"], ["updated_at", "2015-05-25 17:36:44.126245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.128386"], ["updated_at", "2015-05-25 17:36:44.128386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.130149"], ["updated_at", "2015-05-25 17:36:44.130149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.131746"], ["updated_at", "2015-05-25 17:36:44.131746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.134529"], ["updated_at", "2015-05-25 17:36:44.134529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.137908"], ["updated_at", "2015-05-25 17:36:44.137908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.140290"], ["updated_at", "2015-05-25 17:36:44.140290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.142548"], ["updated_at", "2015-05-25 17:36:44.142548"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.144667"], ["updated_at", "2015-05-25 17:36:44.144667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.147235"], ["updated_at", "2015-05-25 17:36:44.147235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.150452"], ["updated_at", "2015-05-25 17:36:44.150452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.153264"], ["updated_at", "2015-05-25 17:36:44.153264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.155596"], ["updated_at", "2015-05-25 17:36:44.155596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.160632"], ["updated_at", "2015-05-25 17:36:44.160632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.164281"], ["updated_at", "2015-05-25 17:36:44.164281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.168298"], ["updated_at", "2015-05-25 17:36:44.168298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.171013"], ["updated_at", "2015-05-25 17:36:44.171013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.173763"], ["updated_at", "2015-05-25 17:36:44.173763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.176659"], ["updated_at", "2015-05-25 17:36:44.176659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.178860"], ["updated_at", "2015-05-25 17:36:44.178860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.208431"], ["updated_at", "2015-05-25 17:36:44.208431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.210457"], ["updated_at", "2015-05-25 17:36:44.210457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.212403"], ["updated_at", "2015-05-25 17:36:44.212403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.213786"], ["updated_at", "2015-05-25 17:36:44.213786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.216092"], ["updated_at", "2015-05-25 17:36:44.216092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.217514"], ["updated_at", "2015-05-25 17:36:44.217514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.219126"], ["updated_at", "2015-05-25 17:36:44.219126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:36:43.666270"], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.221007"], ["updated_at", "2015-05-25 17:36:44.221007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.223846"], ["updated_at", "2015-05-25 17:36:44.223846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.226085"], ["updated_at", "2015-05-25 17:36:44.226085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.228065"], ["updated_at", "2015-05-25 17:36:44.228065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.230679"], ["updated_at", "2015-05-25 17:36:44.230679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:36:44.231926"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.233526"], ["updated_at", "2015-05-25 17:36:44.233526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.235197"], ["updated_at", "2015-05-25 17:36:44.235197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.236576"], ["updated_at", "2015-05-25 17:36:44.236576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.240246"], ["updated_at", "2015-05-25 17:36:44.240246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:36:44.241714"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.243793"], ["updated_at", "2015-05-25 17:36:44.243793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.245767"], ["updated_at", "2015-05-25 17:36:44.245767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.247224"], ["updated_at", "2015-05-25 17:36:44.247224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.249888"], ["updated_at", "2015-05-25 17:36:44.249888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:36:44.251597"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.253293"], ["updated_at", "2015-05-25 17:36:44.253293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.254977"], ["updated_at", "2015-05-25 17:36:44.254977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.256992"], ["updated_at", "2015-05-25 17:36:44.256992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.259603"], ["updated_at", "2015-05-25 17:36:44.259603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:36:44.260796"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.262373"], ["updated_at", "2015-05-25 17:36:44.262373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.264174"], ["updated_at", "2015-05-25 17:36:44.264174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.265610"], ["updated_at", "2015-05-25 17:36:44.265610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.268524"], ["updated_at", "2015-05-25 17:36:44.268524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:36:44.269878"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.271400"], ["updated_at", "2015-05-25 17:36:44.271400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.273347"], ["updated_at", "2015-05-25 17:36:44.273347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.275110"], ["updated_at", "2015-05-25 17:36:44.275110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.277645"], ["updated_at", "2015-05-25 17:36:44.277645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 17:36:44.278767"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.280477"], ["updated_at", "2015-05-25 17:36:44.280477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.282711"], ["updated_at", "2015-05-25 17:36:44.282711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.284500"], ["updated_at", "2015-05-25 17:36:44.284500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.286850"], ["updated_at", "2015-05-25 17:36:44.286850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:36:44.288025"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.291584"], ["updated_at", "2015-05-25 17:36:44.291584"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.294036"], ["updated_at", "2015-05-25 17:36:44.294036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.301819"], ["updated_at", "2015-05-25 17:36:44.301819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:36:44.300886"], ["created_at", "2015-05-25 17:36:44.303080"], ["updated_at", "2015-05-25 17:36:44.303080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 17:36:44.304556"], ["updated_at", "2015-05-25 17:36:44.304556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.305912"], ["updated_at", "2015-05-25 17:36:44.305912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:36:44.306569"], ["current_period_start", "2015-05-25 17:36:44.306569"], ["current_period_end", "2015-06-25 17:36:44.306569"], ["created_at", "2015-05-25 17:36:44.307181"], ["updated_at", "2015-05-25 17:36:44.307181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.309255"], ["updated_at", "2015-05-25 17:36:44.309255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.318828"], ["updated_at", "2015-05-25 17:36:44.318828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.320667"], ["updated_at", "2015-05-25 17:36:44.320667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.322330"], ["updated_at", "2015-05-25 17:36:44.322330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.323650"], ["updated_at", "2015-05-25 17:36:44.323650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.326190"], ["updated_at", "2015-05-25 17:36:44.326190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:36:44.327005"], ["updated_at", "2015-05-25 17:36:44.327379"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:36:44.329470"], ["updated_at", "2015-05-25 17:36:44.329470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.330877"], ["updated_at", "2015-05-25 17:36:44.330877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:36:44.332841"], ["updated_at", "2015-05-25 17:36:44.332841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:36:44.334181"], ["updated_at", "2015-05-25 17:36:44.334181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:36:44.336802"], ["updated_at", "2015-05-25 17:36:44.336802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:36:44.337568"], ["updated_at", "2015-05-25 17:36:44.337931"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:57:53.725011"], ["updated_at", "2015-05-25 17:57:53.725011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:57:53.739479"], ["updated_at", "2015-05-25 17:57:53.739479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:57:53.748730"], ["updated_at", "2015-05-25 17:57:53.748730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:57:53.600919"], ["owner_id", 1], ["created_at", "2015-05-25 17:57:53.754482"], ["updated_at", "2015-05-25 17:57:53.754482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:57:53.762839"], ["updated_at", "2015-05-25 17:57:53.762839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:57:53.764715"], ["updated_at", "2015-05-25 17:57:53.764715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:57:53.767044"], ["updated_at", "2015-05-25 17:57:53.767044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:57:53.768795"], ["updated_at", "2015-05-25 17:57:53.768795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:57:53.772024"], ["updated_at", "2015-05-25 17:57:53.772024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:57:53.773720"], ["updated_at", "2015-05-25 17:57:53.773720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:57:53.776086"], ["updated_at", "2015-05-25 17:57:53.776086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:57:53.788684"], ["updated_at", "2015-05-25 17:57:53.788684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:57:53.790591"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:57:53.794742"], ["updated_at", "2015-05-25 17:57:53.794742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:57:53.797157"], ["updated_at", "2015-05-25 17:57:53.797157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 17:57:53.798693"], ["updated_at", "2015-05-25 17:57:53.798693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:57:53.809108"], ["updated_at", "2015-05-25 17:57:53.809108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:57:53.810518"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:57:53.812165"], ["updated_at", "2015-05-25 17:57:53.812165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:57:53.814192"], ["updated_at", "2015-05-25 17:57:53.814192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:57:53.815606"], ["updated_at", "2015-05-25 17:57:53.815606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:57:53.819541"], ["updated_at", "2015-05-25 17:57:53.819541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:57:53.820902"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:57:53.822595"], ["updated_at", "2015-05-25 17:57:53.822595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:57:53.824291"], ["updated_at", "2015-05-25 17:57:53.824291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:57:53.826175"], ["updated_at", "2015-05-25 17:57:53.826175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:57:53.828747"], ["updated_at", "2015-05-25 17:57:53.828747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:57:53.829991"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:57:53.834863"], ["updated_at", "2015-05-25 17:57:53.834863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:57:53.837422"], ["updated_at", "2015-05-25 17:57:53.837422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:57:53.839121"], ["updated_at", "2015-05-25 17:57:53.839121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:57:53.842049"], ["updated_at", "2015-05-25 17:57:53.842049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:57:53.843397"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:57:53.845048"], ["updated_at", "2015-05-25 17:57:53.845048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:57:53.847117"], ["updated_at", "2015-05-25 17:57:53.847117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:57:53.848684"], ["updated_at", "2015-05-25 17:57:53.848684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:57:53.851612"], ["updated_at", "2015-05-25 17:57:53.851612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:57:53.852833"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:57:53.855402"], ["updated_at", "2015-05-25 17:57:53.855402"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:57:53.857079"], ["updated_at", "2015-05-25 17:57:53.857079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:57:53.859780"], ["updated_at", "2015-05-25 17:57:53.859780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:57:53.863739"], ["updated_at", "2015-05-25 17:57:53.863739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 17:57:53.864999"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 17:58:00.962407"], ["updated_at", "2015-05-25 17:58:00.962407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 17:58:00.964675"], ["updated_at", "2015-05-25 17:58:00.964675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:00.966217"], ["updated_at", "2015-05-25 17:58:00.966217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:00.985012"], ["updated_at", "2015-05-25 17:58:00.985012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 17:58:01.004193"], ["updated_at", "2015-05-25 17:58:01.004193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 17:58:01.006238"], ["updated_at", "2015-05-25 17:58:01.006238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.007899"], ["updated_at", "2015-05-25 17:58:01.007899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.015905"], ["updated_at", "2015-05-25 17:58:01.015905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.023318"], ["updated_at", "2015-05-25 17:58:01.023318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.026398"], ["updated_at", "2015-05-25 17:58:01.026398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.029104"], ["updated_at", "2015-05-25 17:58:01.029104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.034044"], ["updated_at", "2015-05-25 17:58:01.034044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.037323"], ["updated_at", "2015-05-25 17:58:01.037323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.047066"], ["updated_at", "2015-05-25 17:58:01.047066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.050829"], ["updated_at", "2015-05-25 17:58:01.050829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.054302"], ["updated_at", "2015-05-25 17:58:01.054302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.057221"], ["updated_at", "2015-05-25 17:58:01.057221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.062228"], ["updated_at", "2015-05-25 17:58:01.062228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.065533"], ["updated_at", "2015-05-25 17:58:01.065533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.068284"], ["updated_at", "2015-05-25 17:58:01.068284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.072433"], ["updated_at", "2015-05-25 17:58:01.072433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.075464"], ["updated_at", "2015-05-25 17:58:01.075464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.078029"], ["updated_at", "2015-05-25 17:58:01.078029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.082904"], ["updated_at", "2015-05-25 17:58:01.082904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.084968"], ["updated_at", "2015-05-25 17:58:01.084968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.086965"], ["updated_at", "2015-05-25 17:58:01.086965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.089206"], ["updated_at", "2015-05-25 17:58:01.089206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.104374"], ["updated_at", "2015-05-25 17:58:01.104374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:58:01.105684"], ["updated_at", "2015-05-25 17:58:01.106176"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.110169"], ["updated_at", "2015-05-25 17:58:01.110169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.111996"], ["updated_at", "2015-05-25 17:58:01.111996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.114789"], ["updated_at", "2015-05-25 17:58:01.114789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.116819"], ["updated_at", "2015-05-25 17:58:01.116819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.120739"], ["updated_at", "2015-05-25 17:58:01.120739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:58:01.121717"], ["updated_at", "2015-05-25 17:58:01.122297"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.126388"], ["updated_at", "2015-05-25 17:58:01.126388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:58:00.750545"], ["created_at", "2015-05-25 17:58:01.128053"], ["updated_at", "2015-05-25 17:58:01.128053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.130330"], ["updated_at", "2015-05-25 17:58:01.130330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:01.131327"], ["updated_at", "2015-05-25 17:58:01.131327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.133110"], ["updated_at", "2015-05-25 17:58:01.133110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.135039"], ["updated_at", "2015-05-25 17:58:01.135039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:01.136702"], ["updated_at", "2015-05-25 17:58:01.136702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.138680"], ["updated_at", "2015-05-25 17:58:01.138680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 14:58:01.137330"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.140150"], ["updated_at", "2015-05-25 17:58:01.140150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 14:58:01.137330"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.141490"], ["updated_at", "2015-05-25 17:58:01.141490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:01.147279"], ["updated_at", "2015-05-25 17:58:01.147279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.149297"], ["updated_at", "2015-05-25 17:58:01.149297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.151023"], ["updated_at", "2015-05-25 17:58:01.151023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.152458"], ["updated_at", "2015-05-25 17:58:01.152458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:01.155533"], ["updated_at", "2015-05-25 17:58:01.155533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.158548"], ["updated_at", "2015-05-25 17:58:01.158548"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.160380"], ["updated_at", "2015-05-25 17:58:01.160380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.161986"], ["updated_at", "2015-05-25 17:58:01.161986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:01.168477"], ["updated_at", "2015-05-25 17:58:01.168477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.170720"], ["updated_at", "2015-05-25 17:58:01.170720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.172646"], ["updated_at", "2015-05-25 17:58:01.172646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.174254"], ["updated_at", "2015-05-25 17:58:01.174254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.177377"], ["updated_at", "2015-05-25 17:58:01.177377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:01.178529"], ["updated_at", "2015-05-25 17:58:01.178529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.180418"], ["updated_at", "2015-05-25 17:58:01.180418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.181795"], ["updated_at", "2015-05-25 17:58:01.181795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:01.183724"], ["updated_at", "2015-05-25 17:58:01.183724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.186699"], ["updated_at", "2015-05-25 17:58:01.186699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 20:58:01.185032"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.188286"], ["updated_at", "2015-05-25 17:58:01.188286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 20:58:01.185032"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.190124"], ["updated_at", "2015-05-25 17:58:01.190124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:01.191945"], ["updated_at", "2015-05-25 17:58:01.191945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.193827"], ["updated_at", "2015-05-25 17:58:01.193827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.196081"], ["updated_at", "2015-05-25 17:58:01.196081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.197980"], ["updated_at", "2015-05-25 17:58:01.197980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:01.199787"], ["updated_at", "2015-05-25 17:58:01.199787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.202099"], ["updated_at", "2015-05-25 17:58:01.202099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.203762"], ["updated_at", "2015-05-25 17:58:01.203762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.205943"], ["updated_at", "2015-05-25 17:58:01.205943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.7ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.241259"], ["updated_at", "2015-05-25 17:58:01.241259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.244910"], ["updated_at", "2015-05-25 17:58:01.244910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:58:00.750545"], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.249718"], ["updated_at", "2015-05-25 17:58:01.249718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.254444"], ["updated_at", "2015-05-25 17:58:01.254444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 17:58:01.251590"], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.256909"], ["updated_at", "2015-05-25 17:58:01.256909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.260889"], ["updated_at", "2015-05-25 17:58:01.260889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.264183"], ["updated_at", "2015-05-25 17:58:01.264183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.266346"], ["updated_at", "2015-05-25 17:58:01.266346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.271036"], ["updated_at", "2015-05-25 17:58:01.271036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (1.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.274500"], ["updated_at", "2015-05-25 17:58:01.274500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:58:00.750545"], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.277736"], ["updated_at", "2015-05-25 17:58:01.277736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.281314"], ["updated_at", "2015-05-25 17:58:01.281314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.284878"], ["updated_at", "2015-05-25 17:58:01.284878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.287847"], ["updated_at", "2015-05-25 17:58:01.287847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.293271"], ["updated_at", "2015-05-25 17:58:01.293271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.296494"], ["updated_at", "2015-05-25 17:58:01.296494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:58:00.750545"], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.298987"], ["updated_at", "2015-05-25 17:58:01.298987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.5ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.303334"], ["updated_at", "2015-05-25 17:58:01.303334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.307126"], ["updated_at", "2015-05-25 17:58:01.307126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.310676"], ["updated_at", "2015-05-25 17:58:01.310676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.313072"], ["updated_at", "2015-05-25 17:58:01.313072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.316011"], ["updated_at", "2015-05-25 17:58:01.316011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.318205"], ["updated_at", "2015-05-25 17:58:01.318205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.320875"], ["updated_at", "2015-05-25 17:58:01.320875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.322769"], ["updated_at", "2015-05-25 17:58:01.322769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.325444"], ["updated_at", "2015-05-25 17:58:01.325444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.327721"], ["updated_at", "2015-05-25 17:58:01.327721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.330787"], ["updated_at", "2015-05-25 17:58:01.330787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:58:00.750545"], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.342487"], ["updated_at", "2015-05-25 17:58:01.342487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.345165"], ["updated_at", "2015-05-25 17:58:01.345165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.346906"], ["updated_at", "2015-05-25 17:58:01.346906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.348946"], ["updated_at", "2015-05-25 17:58:01.348946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.352210"], ["updated_at", "2015-05-25 17:58:01.352210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:58:01.353424"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.355030"], ["updated_at", "2015-05-25 17:58:01.355030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.356615"], ["updated_at", "2015-05-25 17:58:01.356615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.358577"], ["updated_at", "2015-05-25 17:58:01.358577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.361163"], ["updated_at", "2015-05-25 17:58:01.361163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 17:58:01.362306"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.363889"], ["updated_at", "2015-05-25 17:58:01.363889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.365766"], ["updated_at", "2015-05-25 17:58:01.365766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.368097"], ["updated_at", "2015-05-25 17:58:01.368097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.372397"], ["updated_at", "2015-05-25 17:58:01.372397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:58:01.373633"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.375182"], ["updated_at", "2015-05-25 17:58:01.375182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.377068"], ["updated_at", "2015-05-25 17:58:01.377068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.378528"], ["updated_at", "2015-05-25 17:58:01.378528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.381211"], ["updated_at", "2015-05-25 17:58:01.381211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:58:01.382347"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.384715"], ["updated_at", "2015-05-25 17:58:01.384715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.386448"], ["updated_at", "2015-05-25 17:58:01.386448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.388367"], ["updated_at", "2015-05-25 17:58:01.388367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.390951"], ["updated_at", "2015-05-25 17:58:01.390951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:58:01.392131"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.394066"], ["updated_at", "2015-05-25 17:58:01.394066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.395974"], ["updated_at", "2015-05-25 17:58:01.395974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.397794"], ["updated_at", "2015-05-25 17:58:01.397794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.401321"], ["updated_at", "2015-05-25 17:58:01.401321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:58:01.402568"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.404041"], ["updated_at", "2015-05-25 17:58:01.404041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.406279"], ["updated_at", "2015-05-25 17:58:01.406279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.407817"], ["updated_at", "2015-05-25 17:58:01.407817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.412022"], ["updated_at", "2015-05-25 17:58:01.412022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:58:01.413333"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.418121"], ["updated_at", "2015-05-25 17:58:01.418121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:58:01.416497"], ["created_at", "2015-05-25 17:58:01.419775"], ["updated_at", "2015-05-25 17:58:01.419775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.422235"], ["updated_at", "2015-05-25 17:58:01.422235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 17:58:01.423644"], ["updated_at", "2015-05-25 17:58:01.423644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:58:01.424381"], ["updated_at", "2015-05-25 17:58:01.424674"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.426494"], ["updated_at", "2015-05-25 17:58:01.426494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.429005"], ["updated_at", "2015-05-25 17:58:01.429005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:58:01.430430"], ["current_period_start", "2015-05-25 17:58:01.430430"], ["current_period_end", "2015-06-25 17:58:01.430430"], ["created_at", "2015-05-25 17:58:01.431076"], ["updated_at", "2015-05-25 17:58:01.431076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.432750"], ["updated_at", "2015-05-25 17:58:01.432750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.434746"], ["updated_at", "2015-05-25 17:58:01.434746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:58:01.435917"], ["current_period_start", "2015-05-25 17:58:01.435917"], ["current_period_end", "2015-06-25 17:58:01.435917"], ["created_at", "2015-05-25 17:58:01.436518"], ["updated_at", "2015-05-25 17:58:01.436518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.438824"], ["updated_at", "2015-05-25 17:58:01.438824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.440411"], ["updated_at", "2015-05-25 17:58:01.440411"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.442191"], ["updated_at", "2015-05-25 17:58:01.442191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.443585"], ["updated_at", "2015-05-25 17:58:01.443585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.446124"], ["updated_at", "2015-05-25 17:58:01.446124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:58:01.446960"], ["updated_at", "2015-05-25 17:58:01.447408"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:58:01.448049"], ["current_period_start", "2015-05-25 17:58:01.448049"], ["current_period_end", "2015-06-25 17:58:01.448049"], ["created_at", "2015-05-25 17:58:01.448585"], ["updated_at", "2015-05-25 17:58:01.448585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.451160"], ["updated_at", "2015-05-25 17:58:01.451160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.453204"], ["updated_at", "2015-05-25 17:58:01.453204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.455353"], ["updated_at", "2015-05-25 17:58:01.455353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.456946"], ["updated_at", "2015-05-25 17:58:01.456946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.460780"], ["updated_at", "2015-05-25 17:58:01.460780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:58:01.461716"], ["updated_at", "2015-05-25 17:58:01.462086"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:58:01.462762"], ["current_period_start", "2015-05-25 17:58:01.462762"], ["current_period_end", "2015-06-25 17:58:01.462762"], ["created_at", "2015-05-25 17:58:01.463323"], ["updated_at", "2015-05-25 17:58:01.463323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.465263"], ["updated_at", "2015-05-25 17:58:01.465263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.467067"], ["updated_at", "2015-05-25 17:58:01.467067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.468950"], ["updated_at", "2015-05-25 17:58:01.468950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:01.470633"], ["updated_at", "2015-05-25 17:58:01.470633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:01.473393"], ["updated_at", "2015-05-25 17:58:01.473393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:58:01.474213"], ["updated_at", "2015-05-25 17:58:01.474569"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:58:01.475203"], ["current_period_start", "2015-05-25 17:58:01.475203"], ["current_period_end", "2015-06-25 17:58:01.475203"], ["created_at", "2015-05-25 17:58:01.475771"], ["updated_at", "2015-05-25 17:58:01.475771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:01.478088"], ["updated_at", "2015-05-25 17:58:01.478088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.486016"], ["updated_at", "2015-05-25 17:58:01.486016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.488680"], ["updated_at", "2015-05-25 17:58:01.488680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.494647"], ["updated_at", "2015-05-25 17:58:01.494647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:58:01.493358"], ["created_at", "2015-05-25 17:58:01.496371"], ["updated_at", "2015-05-25 17:58:01.496371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 17:58:01.502840"], ["updated_at", "2015-05-25 17:58:01.502840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:01.504792"], ["updated_at", "2015-05-25 17:58:01.504792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:58:01.505561"], ["current_period_start", "2015-05-25 17:58:01.505561"], ["current_period_end", "2015-06-25 17:58:01.505561"], ["created_at", "2015-05-25 17:58:01.506231"], ["updated_at", "2015-05-25 17:58:01.506231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.688551"], ["updated_at", "2015-05-25 17:58:24.688551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:58:24.474123"], ["created_at", "2015-05-25 17:58:24.694654"], ["updated_at", "2015-05-25 17:58:24.694654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:24.704817"], ["updated_at", "2015-05-25 17:58:24.704817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.707469"], ["updated_at", "2015-05-25 17:58:24.707469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.709725"], ["updated_at", "2015-05-25 17:58:24.709725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.717132"], ["updated_at", "2015-05-25 17:58:24.717132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:24.719435"], ["updated_at", "2015-05-25 17:58:24.719435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.723884"], ["updated_at", "2015-05-25 17:58:24.723884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.726728"], ["updated_at", "2015-05-25 17:58:24.726728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.728375"], ["updated_at", "2015-05-25 17:58:24.728375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:24.730606"], ["updated_at", "2015-05-25 17:58:24.730606"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.732813"], ["updated_at", "2015-05-25 17:58:24.732813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 20:58:24.731409"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.734209"], ["updated_at", "2015-05-25 17:58:24.734209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 20:58:24.731409"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.735808"], ["updated_at", "2015-05-25 17:58:24.735808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.738056"], ["updated_at", "2015-05-25 17:58:24.738056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:24.739032"], ["updated_at", "2015-05-25 17:58:24.739032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.741190"], ["updated_at", "2015-05-25 17:58:24.741190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.742643"], ["updated_at", "2015-05-25 17:58:24.742643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:24.744192"], ["updated_at", "2015-05-25 17:58:24.744192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.745999"], ["updated_at", "2015-05-25 17:58:24.745999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.747490"], ["updated_at", "2015-05-25 17:58:24.747490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.749018"], ["updated_at", "2015-05-25 17:58:24.749018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:24.750559"], ["updated_at", "2015-05-25 17:58:24.750559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.752916"], ["updated_at", "2015-05-25 17:58:24.752916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 14:58:24.751461"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.754409"], ["updated_at", "2015-05-25 17:58:24.754409"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 14:58:24.751461"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.756792"], ["updated_at", "2015-05-25 17:58:24.756792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.764902"], ["updated_at", "2015-05-25 17:58:24.764902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:24.765950"], ["updated_at", "2015-05-25 17:58:24.765950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.767929"], ["updated_at", "2015-05-25 17:58:24.767929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.769282"], ["updated_at", "2015-05-25 17:58:24.769282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:24.770767"], ["updated_at", "2015-05-25 17:58:24.770767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.773511"], ["updated_at", "2015-05-25 17:58:24.773511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.775128"], ["updated_at", "2015-05-25 17:58:24.775128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.776577"], ["updated_at", "2015-05-25 17:58:24.776577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 17:58:24.778312"], ["updated_at", "2015-05-25 17:58:24.778312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.780129"], ["updated_at", "2015-05-25 17:58:24.780129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.781564"], ["updated_at", "2015-05-25 17:58:24.781564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.782835"], ["updated_at", "2015-05-25 17:58:24.782835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.785658"], ["updated_at", "2015-05-25 17:58:24.785658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:58:24.784183"], ["created_at", "2015-05-25 17:58:24.787927"], ["updated_at", "2015-05-25 17:58:24.787927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.790641"], ["updated_at", "2015-05-25 17:58:24.790641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 17:58:24.792216"], ["updated_at", "2015-05-25 17:58:24.792216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:58:24.792992"], ["updated_at", "2015-05-25 17:58:24.793293"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:24.825941"], ["updated_at", "2015-05-25 17:58:24.825941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.827822"], ["updated_at", "2015-05-25 17:58:24.827822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.829706"], ["updated_at", "2015-05-25 17:58:24.829706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.831137"], ["updated_at", "2015-05-25 17:58:24.831137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:24.838801"], ["updated_at", "2015-05-25 17:58:24.838801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.840413"], ["updated_at", "2015-05-25 17:58:24.840413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.842238"], ["updated_at", "2015-05-25 17:58:24.842238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:58:24.474123"], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.843713"], ["updated_at", "2015-05-25 17:58:24.843713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:24.846467"], ["updated_at", "2015-05-25 17:58:24.846467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.848680"], ["updated_at", "2015-05-25 17:58:24.848680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.850143"], ["updated_at", "2015-05-25 17:58:24.850143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.853986"], ["updated_at", "2015-05-25 17:58:24.853986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:58:24.855954"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:24.857696"], ["updated_at", "2015-05-25 17:58:24.857696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.859675"], ["updated_at", "2015-05-25 17:58:24.859675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.861081"], ["updated_at", "2015-05-25 17:58:24.861081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.863597"], ["updated_at", "2015-05-25 17:58:24.863597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:58:24.865014"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:24.866390"], ["updated_at", "2015-05-25 17:58:24.866390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.868556"], ["updated_at", "2015-05-25 17:58:24.868556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.870048"], ["updated_at", "2015-05-25 17:58:24.870048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.872815"], ["updated_at", "2015-05-25 17:58:24.872815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:58:24.874028"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:24.876256"], ["updated_at", "2015-05-25 17:58:24.876256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.878513"], ["updated_at", "2015-05-25 17:58:24.878513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.880361"], ["updated_at", "2015-05-25 17:58:24.880361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.882864"], ["updated_at", "2015-05-25 17:58:24.882864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:58:24.884090"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:24.885903"], ["updated_at", "2015-05-25 17:58:24.885903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.887837"], ["updated_at", "2015-05-25 17:58:24.887837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.889193"], ["updated_at", "2015-05-25 17:58:24.889193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.891592"], ["updated_at", "2015-05-25 17:58:24.891592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 17:58:24.892723"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:24.894983"], ["updated_at", "2015-05-25 17:58:24.894983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.897557"], ["updated_at", "2015-05-25 17:58:24.897557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.899574"], ["updated_at", "2015-05-25 17:58:24.899574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.902657"], ["updated_at", "2015-05-25 17:58:24.902657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 17:58:24.903966"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:24.906003"], ["updated_at", "2015-05-25 17:58:24.906003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.908559"], ["updated_at", "2015-05-25 17:58:24.908559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:24.910579"], ["updated_at", "2015-05-25 17:58:24.910579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:24.913376"], ["updated_at", "2015-05-25 17:58:24.913376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 17:58:24.914738"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.919949"], ["updated_at", "2015-05-25 17:58:24.919949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.922833"], ["updated_at", "2015-05-25 17:58:24.922833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.930973"], ["updated_at", "2015-05-25 17:58:24.930973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 17:58:24.930023"], ["created_at", "2015-05-25 17:58:24.932422"], ["updated_at", "2015-05-25 17:58:24.932422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.934597"], ["updated_at", "2015-05-25 17:58:24.934597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.936766"], ["updated_at", "2015-05-25 17:58:24.936766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.939366"], ["updated_at", "2015-05-25 17:58:24.939366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 17:58:24.942839"], ["updated_at", "2015-05-25 17:58:24.942839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 17:58:24.944567"], ["updated_at", "2015-05-25 17:58:24.944567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.946081"], ["updated_at", "2015-05-25 17:58:24.946081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.960126"], ["updated_at", "2015-05-25 17:58:24.960126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.973161"], ["updated_at", "2015-05-25 17:58:24.973161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.975819"], ["updated_at", "2015-05-25 17:58:24.975819"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.979811"], ["updated_at", "2015-05-25 17:58:24.979811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.982582"], ["updated_at", "2015-05-25 17:58:24.982582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.985354"], ["updated_at", "2015-05-25 17:58:24.985354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.988096"], ["updated_at", "2015-05-25 17:58:24.988096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.991223"], ["updated_at", "2015-05-25 17:58:24.991223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.993928"], ["updated_at", "2015-05-25 17:58:24.993928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.996312"], ["updated_at", "2015-05-25 17:58:24.996312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:24.998860"], ["updated_at", "2015-05-25 17:58:24.998860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.004931"], ["updated_at", "2015-05-25 17:58:25.004931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.008907"], ["updated_at", "2015-05-25 17:58:25.008907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.012504"], ["updated_at", "2015-05-25 17:58:25.012504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.015125"], ["updated_at", "2015-05-25 17:58:25.015125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.018723"], ["updated_at", "2015-05-25 17:58:25.018723"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.022661"], ["updated_at", "2015-05-25 17:58:25.022661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.025259"], ["updated_at", "2015-05-25 17:58:25.025259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.026775"], ["updated_at", "2015-05-25 17:58:25.026775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:58:25.028072"], ["current_period_start", "2015-05-25 17:58:25.028072"], ["current_period_end", "2015-06-25 17:58:25.028072"], ["created_at", "2015-05-25 17:58:25.028696"], ["updated_at", "2015-05-25 17:58:25.028696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.030970"], ["updated_at", "2015-05-25 17:58:25.030970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.032954"], ["updated_at", "2015-05-25 17:58:25.032954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:58:25.034088"], ["current_period_start", "2015-05-25 17:58:25.034088"], ["current_period_end", "2015-06-25 17:58:25.034088"], ["created_at", "2015-05-25 17:58:25.034805"], ["updated_at", "2015-05-25 17:58:25.034805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.036861"], ["updated_at", "2015-05-25 17:58:25.036861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.038765"], ["updated_at", "2015-05-25 17:58:25.038765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.040778"], ["updated_at", "2015-05-25 17:58:25.040778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:25.042172"], ["updated_at", "2015-05-25 17:58:25.042172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:25.045065"], ["updated_at", "2015-05-25 17:58:25.045065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:58:25.045946"], ["updated_at", "2015-05-25 17:58:25.046352"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:58:25.047077"], ["current_period_start", "2015-05-25 17:58:25.047077"], ["current_period_end", "2015-06-25 17:58:25.047077"], ["created_at", "2015-05-25 17:58:25.047653"], ["updated_at", "2015-05-25 17:58:25.047653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.049749"], ["updated_at", "2015-05-25 17:58:25.049749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.051358"], ["updated_at", "2015-05-25 17:58:25.051358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.052942"], ["updated_at", "2015-05-25 17:58:25.052942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:25.054202"], ["updated_at", "2015-05-25 17:58:25.054202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:25.056738"], ["updated_at", "2015-05-25 17:58:25.056738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:58:25.057497"], ["updated_at", "2015-05-25 17:58:25.058045"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:58:25.059379"], ["current_period_start", "2015-05-25 17:58:25.059379"], ["current_period_end", "2015-06-25 17:58:25.059379"], ["created_at", "2015-05-25 17:58:25.060120"], ["updated_at", "2015-05-25 17:58:25.060120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.063900"], ["updated_at", "2015-05-25 17:58:25.063900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.065524"], ["updated_at", "2015-05-25 17:58:25.065524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.067126"], ["updated_at", "2015-05-25 17:58:25.067126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:25.068721"], ["updated_at", "2015-05-25 17:58:25.068721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:25.071437"], ["updated_at", "2015-05-25 17:58:25.071437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:58:25.072298"], ["updated_at", "2015-05-25 17:58:25.072699"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:58:25.073372"], ["current_period_start", "2015-05-25 17:58:25.073372"], ["current_period_end", "2015-06-25 17:58:25.073372"], ["created_at", "2015-05-25 17:58:25.073942"], ["updated_at", "2015-05-25 17:58:25.073942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.077061"], ["updated_at", "2015-05-25 17:58:25.077061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.079405"], ["updated_at", "2015-05-25 17:58:25.079405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:58:24.474123"], ["owner_id", 1], ["created_at", "2015-05-25 17:58:25.080790"], ["updated_at", "2015-05-25 17:58:25.080790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.082676"], ["updated_at", "2015-05-25 17:58:25.082676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.084440"], ["updated_at", "2015-05-25 17:58:25.084440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:25.085822"], ["updated_at", "2015-05-25 17:58:25.085822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.087594"], ["updated_at", "2015-05-25 17:58:25.087594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.089267"], ["updated_at", "2015-05-25 17:58:25.089267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.090830"], ["updated_at", "2015-05-25 17:58:25.090830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:58:24.474123"], ["owner_id", 1], ["created_at", "2015-05-25 17:58:25.092935"], ["updated_at", "2015-05-25 17:58:25.092935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.095346"], ["updated_at", "2015-05-25 17:58:25.095346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.097072"], ["updated_at", "2015-05-25 17:58:25.097072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:25.098480"], ["updated_at", "2015-05-25 17:58:25.098480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.101812"], ["updated_at", "2015-05-25 17:58:25.101812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.103649"], ["updated_at", "2015-05-25 17:58:25.103649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 17:58:24.474123"], ["owner_id", 1], ["created_at", "2015-05-25 17:58:25.105426"], ["updated_at", "2015-05-25 17:58:25.105426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.107546"], ["updated_at", "2015-05-25 17:58:25.107546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 17:58:25.106182"], ["owner_id", 1], ["created_at", "2015-05-25 17:58:25.109016"], ["updated_at", "2015-05-25 17:58:25.109016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.111851"], ["updated_at", "2015-05-25 17:58:25.111851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.113891"], ["updated_at", "2015-05-25 17:58:25.113891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:25.115406"], ["updated_at", "2015-05-25 17:58:25.115406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 17:58:25.118432"], ["updated_at", "2015-05-25 17:58:25.118432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.119973"], ["updated_at", "2015-05-25 17:58:25.119973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 17:58:25.120634"], ["current_period_start", "2015-05-25 17:58:25.120634"], ["current_period_end", "2015-06-25 17:58:25.120634"], ["created_at", "2015-05-25 17:58:25.121258"], ["updated_at", "2015-05-25 17:58:25.121258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.125521"], ["updated_at", "2015-05-25 17:58:25.125521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.133089"], ["updated_at", "2015-05-25 17:58:25.133089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.134929"], ["updated_at", "2015-05-25 17:58:25.134929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.136905"], ["updated_at", "2015-05-25 17:58:25.136905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:25.138317"], ["updated_at", "2015-05-25 17:58:25.138317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:25.142222"], ["updated_at", "2015-05-25 17:58:25.142222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:58:25.143318"], ["updated_at", "2015-05-25 17:58:25.143960"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 17:58:25.146675"], ["updated_at", "2015-05-25 17:58:25.146675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.148205"], ["updated_at", "2015-05-25 17:58:25.148205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 17:58:25.149807"], ["updated_at", "2015-05-25 17:58:25.149807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 17:58:25.151201"], ["updated_at", "2015-05-25 17:58:25.151201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 17:58:25.154869"], ["updated_at", "2015-05-25 17:58:25.154869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 17:58:25.155908"], ["updated_at", "2015-05-25 17:58:25.156320"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:01:33.580106"], ["updated_at", "2015-05-25 18:01:33.580106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:01:33.593575"], ["updated_at", "2015-05-25 18:01:33.593575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:01:33.603017"], ["updated_at", "2015-05-25 18:01:33.603017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:01:33.609129"], ["updated_at", "2015-05-25 18:01:33.609129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:01:33.616446"], ["updated_at", "2015-05-25 18:01:33.616446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:01:33.618030"], ["updated_at", "2015-05-25 18:01:33.618030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:01:33.619797"], ["updated_at", "2015-05-25 18:01:33.619797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:01:33.460928"], ["owner_id", 1], ["created_at", "2015-05-25 18:01:33.621200"], ["updated_at", "2015-05-25 18:01:33.621200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:01:33.623445"], ["updated_at", "2015-05-25 18:01:33.623445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:01:33.626471"], ["updated_at", "2015-05-25 18:01:33.626471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:01:33.629641"], ["updated_at", "2015-05-25 18:01:33.629641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:01:33.640841"], ["updated_at", "2015-05-25 18:01:33.640841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:01:33.642719"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:01:33.647785"], ["updated_at", "2015-05-25 18:01:33.647785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:01:33.649952"], ["updated_at", "2015-05-25 18:01:33.649952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:01:33.651475"], ["updated_at", "2015-05-25 18:01:33.651475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (5.5ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:01:33.660176"], ["updated_at", "2015-05-25 18:01:33.660176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:01:33.661876"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:01:33.664026"], ["updated_at", "2015-05-25 18:01:33.664026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:01:33.666470"], ["updated_at", "2015-05-25 18:01:33.666470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:01:33.668352"], ["updated_at", "2015-05-25 18:01:33.668352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:01:33.670957"], ["updated_at", "2015-05-25 18:01:33.670957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:01:33.672205"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:01:33.673713"], ["updated_at", "2015-05-25 18:01:33.673713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:01:33.675987"], ["updated_at", "2015-05-25 18:01:33.675987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 18:01:33.678135"], ["updated_at", "2015-05-25 18:01:33.678135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:01:33.680741"], ["updated_at", "2015-05-25 18:01:33.680741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:01:33.681969"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:01:33.683531"], ["updated_at", "2015-05-25 18:01:33.683531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:01:33.685086"], ["updated_at", "2015-05-25 18:01:33.685086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:01:33.687138"], ["updated_at", "2015-05-25 18:01:33.687138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:01:33.690346"], ["updated_at", "2015-05-25 18:01:33.690346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:01:33.691552"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:01:33.695539"], ["updated_at", "2015-05-25 18:01:33.695539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:01:33.697424"], ["updated_at", "2015-05-25 18:01:33.697424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:01:33.699351"], ["updated_at", "2015-05-25 18:01:33.699351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:01:33.702041"], ["updated_at", "2015-05-25 18:01:33.702041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:01:33.703340"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:01:33.705107"], ["updated_at", "2015-05-25 18:01:33.705107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:01:33.706861"], ["updated_at", "2015-05-25 18:01:33.706861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:01:33.709832"], ["updated_at", "2015-05-25 18:01:33.709832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:01:33.713412"], ["updated_at", "2015-05-25 18:01:33.713412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 18:01:33.714745"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.4ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 11ms (ActiveRecord: 0.8ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:01:40.502538"], ["updated_at", "2015-05-25 18:01:40.502538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 11ms (ActiveRecord: 0.8ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:01:47.469163"], ["updated_at", "2015-05-25 18:01:47.469163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:03:01.708620"], ["updated_at", "2015-05-25 18:03:01.708620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:03:01.723519"], ["updated_at", "2015-05-25 18:03:01.723519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:03:01.732697"], ["updated_at", "2015-05-25 18:03:01.732697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:03:01.586654"], ["owner_id", 1], ["created_at", "2015-05-25 18:03:01.738689"], ["updated_at", "2015-05-25 18:03:01.738689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:03:01.746185"], ["updated_at", "2015-05-25 18:03:01.746185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:03:01.748802"], ["updated_at", "2015-05-25 18:03:01.748802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:03:01.751486"], ["updated_at", "2015-05-25 18:03:01.751486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:03:01.753866"], ["updated_at", "2015-05-25 18:03:01.753866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:03:01.756729"], ["updated_at", "2015-05-25 18:03:01.756729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:03:01.759180"], ["updated_at", "2015-05-25 18:03:01.759180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 18:03:01.760829"], ["updated_at", "2015-05-25 18:03:01.760829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:03:01.772686"], ["updated_at", "2015-05-25 18:03:01.772686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:03:01.774491"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:03:01.778443"], ["updated_at", "2015-05-25 18:03:01.778443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:03:01.780854"], ["updated_at", "2015-05-25 18:03:01.780854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:03:01.782383"], ["updated_at", "2015-05-25 18:03:01.782383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:03:01.793356"], ["updated_at", "2015-05-25 18:03:01.793356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:03:01.794717"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:03:01.796566"], ["updated_at", "2015-05-25 18:03:01.796566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:03:01.798329"], ["updated_at", "2015-05-25 18:03:01.798329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:03:01.800197"], ["updated_at", "2015-05-25 18:03:01.800197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:03:01.802990"], ["updated_at", "2015-05-25 18:03:01.802990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 18:03:01.804821"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:03:01.806849"], ["updated_at", "2015-05-25 18:03:01.806849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:03:01.809166"], ["updated_at", "2015-05-25 18:03:01.809166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:03:01.810629"], ["updated_at", "2015-05-25 18:03:01.810629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:03:01.813340"], ["updated_at", "2015-05-25 18:03:01.813340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:03:01.815477"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:03:01.817216"], ["updated_at", "2015-05-25 18:03:01.817216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:03:01.818859"], ["updated_at", "2015-05-25 18:03:01.818859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:03:01.821197"], ["updated_at", "2015-05-25 18:03:01.821197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:03:01.823938"], ["updated_at", "2015-05-25 18:03:01.823938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:03:01.825110"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:03:01.826629"], ["updated_at", "2015-05-25 18:03:01.826629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:03:01.828225"], ["updated_at", "2015-05-25 18:03:01.828225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:03:01.830302"], ["updated_at", "2015-05-25 18:03:01.830302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:03:01.832851"], ["updated_at", "2015-05-25 18:03:01.832851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:03:01.834045"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:03:01.837352"], ["updated_at", "2015-05-25 18:03:01.837352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:03:01.839897"], ["updated_at", "2015-05-25 18:03:01.839897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:03:01.842141"], ["updated_at", "2015-05-25 18:03:01.842141"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:03:01.846360"], ["updated_at", "2015-05-25 18:03:01.846360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:03:01.847804"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.6ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 13ms (ActiveRecord: 1.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:03:04.657400"], ["updated_at", "2015-05-25 18:03:04.657400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.4ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 17ms (ActiveRecord: 1.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:03:49.953714"], ["updated_at", "2015-05-25 18:03:49.953714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 12ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:04:02.492148"], ["updated_at", "2015-05-25 18:04:02.492148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 15ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:07:13.521655"], ["updated_at", "2015-05-25 18:07:13.521655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 15ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:07:13.545329"], ["updated_at", "2015-05-25 18:07:13.545329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 16ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:07:26.392421"], ["updated_at", "2015-05-25 18:07:26.392421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 11ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:07:26.409460"], ["updated_at", "2015-05-25 18:07:26.409460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 16ms (ActiveRecord: 0.8ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:07:44.443732"], ["updated_at", "2015-05-25 18:07:44.443732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 11ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:07:44.458976"], ["updated_at", "2015-05-25 18:07:44.458976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:08:30.172294"], ["updated_at", "2015-05-25 18:08:30.172294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 14ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:08:30.197374"], ["updated_at", "2015-05-25 18:08:30.197374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:09:52.325656"], ["updated_at", "2015-05-25 18:09:52.325656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 13ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:09:52.352314"], ["updated_at", "2015-05-25 18:09:52.352314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/asdas Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:09:52.356588"], ["updated_at", "2015-05-25 18:09:52.356588"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:10:47.359232"], ["updated_at", "2015-05-25 18:10:47.359232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 14ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:10:47.386036"], ["updated_at", "2015-05-25 18:10:47.386036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/my/super/set/path Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:10:47.390374"], ["updated_at", "2015-05-25 18:10:47.390374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:11:19.759925"], ["updated_at", "2015-05-25 18:11:19.759925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 13ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:11:19.785440"], ["updated_at", "2015-05-25 18:11:19.785440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.hostlist_of_organizations Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:11:19.789751"], ["updated_at", "2015-05-25 18:11:19.789751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:12:55.033869"], ["updated_at", "2015-05-25 18:12:55.033869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 14ms (ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:12:55.061652"], ["updated_at", "2015-05-25 18:12:55.061652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:12:55.066041"], ["updated_at", "2015-05-25 18:12:55.066041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 17ms (ActiveRecord: 0.8ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:13:29.207785"], ["updated_at", "2015-05-25 18:13:29.207785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 11ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:13:29.223117"], ["updated_at", "2015-05-25 18:13:29.223117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:13:29.231590"], ["updated_at", "2015-05-25 18:13:29.231590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:13:38.458952"], ["updated_at", "2015-05-25 18:13:38.458952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 14ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:13:38.486475"], ["updated_at", "2015-05-25 18:13:38.486475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:13:38.491032"], ["updated_at", "2015-05-25 18:13:38.491032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.664259"], ["updated_at", "2015-05-25 18:17:01.664259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:17:01.644000"], ["created_at", "2015-05-25 18:17:01.669774"], ["updated_at", "2015-05-25 18:17:01.669774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.680962"], ["updated_at", "2015-05-25 18:17:01.680962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.684099"], ["updated_at", "2015-05-25 18:17:01.684099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.689729"], ["updated_at", "2015-05-25 18:17:01.689729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:17:01.463896"], ["created_at", "2015-05-25 18:17:01.691301"], ["updated_at", "2015-05-25 18:17:01.691301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:01.697570"], ["updated_at", "2015-05-25 18:17:01.697570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.700109"], ["updated_at", "2015-05-25 18:17:01.700109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 21:17:01.698404"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.703376"], ["updated_at", "2015-05-25 18:17:01.703376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 21:17:01.698404"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.711868"], ["updated_at", "2015-05-25 18:17:01.711868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:01.713930"], ["updated_at", "2015-05-25 18:17:01.713930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.716041"], ["updated_at", "2015-05-25 18:17:01.716041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.717559"], ["updated_at", "2015-05-25 18:17:01.717559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.718970"], ["updated_at", "2015-05-25 18:17:01.718970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:01.720480"], ["updated_at", "2015-05-25 18:17:01.720480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.722229"], ["updated_at", "2015-05-25 18:17:01.722229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.723711"], ["updated_at", "2015-05-25 18:17:01.723711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.725153"], ["updated_at", "2015-05-25 18:17:01.725153"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.733932"], ["updated_at", "2015-05-25 18:17:01.733932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:01.735164"], ["updated_at", "2015-05-25 18:17:01.735164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.736950"], ["updated_at", "2015-05-25 18:17:01.736950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.738432"], ["updated_at", "2015-05-25 18:17:01.738432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:01.739929"], ["updated_at", "2015-05-25 18:17:01.739929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.741683"], ["updated_at", "2015-05-25 18:17:01.741683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 15:17:01.740524"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.743014"], ["updated_at", "2015-05-25 18:17:01.743014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 15:17:01.740524"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.744456"], ["updated_at", "2015-05-25 18:17:01.744456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:01.745855"], ["updated_at", "2015-05-25 18:17:01.745855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.747757"], ["updated_at", "2015-05-25 18:17:01.747757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.749083"], ["updated_at", "2015-05-25 18:17:01.749083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.750351"], ["updated_at", "2015-05-25 18:17:01.750351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:01.755451"], ["updated_at", "2015-05-25 18:17:01.755451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.757254"], ["updated_at", "2015-05-25 18:17:01.757254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.758731"], ["updated_at", "2015-05-25 18:17:01.758731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.760125"], ["updated_at", "2015-05-25 18:17:01.760125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:01.762554"], ["updated_at", "2015-05-25 18:17:01.762554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.764888"], ["updated_at", "2015-05-25 18:17:01.764888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.766649"], ["updated_at", "2015-05-25 18:17:01.766649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.768145"], ["updated_at", "2015-05-25 18:17:01.768145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.770354"], ["updated_at", "2015-05-25 18:17:01.770354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:01.771419"], ["updated_at", "2015-05-25 18:17:01.771419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.773135"], ["updated_at", "2015-05-25 18:17:01.773135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.774530"], ["updated_at", "2015-05-25 18:17:01.774530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 3ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.782023"], ["updated_at", "2015-05-25 18:17:01.782023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.789780"], ["updated_at", "2015-05-25 18:17:01.789780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.795142"], ["updated_at", "2015-05-25 18:17:01.795142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.800092"], ["updated_at", "2015-05-25 18:17:01.800092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 18:17:01.801536"], ["updated_at", "2015-05-25 18:17:01.801536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:17:01.802284"], ["updated_at", "2015-05-25 18:17:01.802583"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.805778"], ["updated_at", "2015-05-25 18:17:01.805778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:17:01.804593"], ["created_at", "2015-05-25 18:17:01.807206"], ["updated_at", "2015-05-25 18:17:01.807206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.808745"], ["updated_at", "2015-05-25 18:17:01.808745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.810066"], ["updated_at", "2015-05-25 18:17:01.810066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.811745"], ["updated_at", "2015-05-25 18:17:01.811745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.812972"], ["updated_at", "2015-05-25 18:17:01.812972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.816487"], ["updated_at", "2015-05-25 18:17:01.816487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:17:01.817289"], ["updated_at", "2015-05-25 18:17:01.817652"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:17:01.818302"], ["current_period_start", "2015-05-25 18:17:01.818302"], ["current_period_end", "2015-06-25 18:17:01.818302"], ["created_at", "2015-05-25 18:17:01.818845"], ["updated_at", "2015-05-25 18:17:01.818845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.822178"], ["updated_at", "2015-05-25 18:17:01.822178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.824634"], ["updated_at", "2015-05-25 18:17:01.824634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.826911"], ["updated_at", "2015-05-25 18:17:01.826911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.828475"], ["updated_at", "2015-05-25 18:17:01.828475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.831309"], ["updated_at", "2015-05-25 18:17:01.831309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:17:01.832152"], ["updated_at", "2015-05-25 18:17:01.832514"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:17:01.833155"], ["current_period_start", "2015-05-25 18:17:01.833155"], ["current_period_end", "2015-06-25 18:17:01.833155"], ["created_at", "2015-05-25 18:17:01.833700"], ["updated_at", "2015-05-25 18:17:01.833700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.835845"], ["updated_at", "2015-05-25 18:17:01.835845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.837291"], ["updated_at", "2015-05-25 18:17:01.837291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.839045"], ["updated_at", "2015-05-25 18:17:01.839045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.840330"], ["updated_at", "2015-05-25 18:17:01.840330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.842761"], ["updated_at", "2015-05-25 18:17:01.842761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:17:01.843629"], ["updated_at", "2015-05-25 18:17:01.844028"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:17:01.844656"], ["current_period_start", "2015-05-25 18:17:01.844656"], ["current_period_end", "2015-06-25 18:17:01.844656"], ["created_at", "2015-05-25 18:17:01.845159"], ["updated_at", "2015-05-25 18:17:01.845159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.847560"], ["updated_at", "2015-05-25 18:17:01.847560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.848920"], ["updated_at", "2015-05-25 18:17:01.848920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:17:01.849958"], ["current_period_start", "2015-05-25 18:17:01.849958"], ["current_period_end", "2015-06-25 18:17:01.849958"], ["created_at", "2015-05-25 18:17:01.850522"], ["updated_at", "2015-05-25 18:17:01.850522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.852518"], ["updated_at", "2015-05-25 18:17:01.852518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.854776"], ["updated_at", "2015-05-25 18:17:01.854776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:17:01.856115"], ["current_period_start", "2015-05-25 18:17:01.856115"], ["current_period_end", "2015-06-25 18:17:01.856115"], ["created_at", "2015-05-25 18:17:01.856934"], ["updated_at", "2015-05-25 18:17:01.856934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.859868"], ["updated_at", "2015-05-25 18:17:01.859868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.861563"], ["updated_at", "2015-05-25 18:17:01.861563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.863422"], ["updated_at", "2015-05-25 18:17:01.863422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.864831"], ["updated_at", "2015-05-25 18:17:01.864831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.866569"], ["updated_at", "2015-05-25 18:17:01.866569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.868218"], ["updated_at", "2015-05-25 18:17:01.868218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:17:01.463896"], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.869592"], ["updated_at", "2015-05-25 18:17:01.869592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.871522"], ["updated_at", "2015-05-25 18:17:01.871522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.873071"], ["updated_at", "2015-05-25 18:17:01.873071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.874459"], ["updated_at", "2015-05-25 18:17:01.874459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.876213"], ["updated_at", "2015-05-25 18:17:01.876213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.877864"], ["updated_at", "2015-05-25 18:17:01.877864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:17:01.463896"], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.879235"], ["updated_at", "2015-05-25 18:17:01.879235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.881171"], ["updated_at", "2015-05-25 18:17:01.881171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.882721"], ["updated_at", "2015-05-25 18:17:01.882721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.885298"], ["updated_at", "2015-05-25 18:17:01.885298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.887795"], ["updated_at", "2015-05-25 18:17:01.887795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.889619"], ["updated_at", "2015-05-25 18:17:01.889619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:17:01.463896"], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.890968"], ["updated_at", "2015-05-25 18:17:01.890968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.892838"], ["updated_at", "2015-05-25 18:17:01.892838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 18:17:01.891716"], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.894165"], ["updated_at", "2015-05-25 18:17:01.894165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.909486"], ["updated_at", "2015-05-25 18:17:01.909486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:17:01.923060"], ["updated_at", "2015-05-25 18:17:01.923060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:17:01.924575"], ["updated_at", "2015-05-25 18:17:01.924575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.925952"], ["updated_at", "2015-05-25 18:17:01.925952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.928342"], ["updated_at", "2015-05-25 18:17:01.928342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.929703"], ["updated_at", "2015-05-25 18:17:01.929703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.931156"], ["updated_at", "2015-05-25 18:17:01.931156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.933011"], ["updated_at", "2015-05-25 18:17:01.933011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.934293"], ["updated_at", "2015-05-25 18:17:01.934293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.935937"], ["updated_at", "2015-05-25 18:17:01.935937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.937232"], ["updated_at", "2015-05-25 18:17:01.937232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.940031"], ["updated_at", "2015-05-25 18:17:01.940031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:17:01.940831"], ["updated_at", "2015-05-25 18:17:01.941291"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:01.943170"], ["updated_at", "2015-05-25 18:17:01.943170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.945355"], ["updated_at", "2015-05-25 18:17:01.945355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.947721"], ["updated_at", "2015-05-25 18:17:01.947721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:01.949196"], ["updated_at", "2015-05-25 18:17:01.949196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:01.951893"], ["updated_at", "2015-05-25 18:17:01.951893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:17:01.952692"], ["updated_at", "2015-05-25 18:17:01.953085"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.956135"], ["updated_at", "2015-05-25 18:17:01.956135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.960409"], ["updated_at", "2015-05-25 18:17:01.960409"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.963020"], ["updated_at", "2015-05-25 18:17:01.963020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.965735"], ["updated_at", "2015-05-25 18:17:01.965735"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.968557"], ["updated_at", "2015-05-25 18:17:01.968557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.971618"], ["updated_at", "2015-05-25 18:17:01.971618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.974423"], ["updated_at", "2015-05-25 18:17:01.974423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.978481"], ["updated_at", "2015-05-25 18:17:01.978481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.981352"], ["updated_at", "2015-05-25 18:17:01.981352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.983652"], ["updated_at", "2015-05-25 18:17:01.983652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.986226"], ["updated_at", "2015-05-25 18:17:01.986226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.988578"], ["updated_at", "2015-05-25 18:17:01.988578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.991097"], ["updated_at", "2015-05-25 18:17:01.991097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.993550"], ["updated_at", "2015-05-25 18:17:01.993550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.995913"], ["updated_at", "2015-05-25 18:17:01.995913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:01.998154"], ["updated_at", "2015-05-25 18:17:01.998154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:02.000182"], ["updated_at", "2015-05-25 18:17:02.000182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:02.001474"], ["updated_at", "2015-05-25 18:17:02.001474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:02.003033"], ["updated_at", "2015-05-25 18:17:02.003033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:17:01.463896"], ["owner_id", 1], ["created_at", "2015-05-25 18:17:02.004543"], ["updated_at", "2015-05-25 18:17:02.004543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:02.007977"], ["updated_at", "2015-05-25 18:17:02.007977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:02.010029"], ["updated_at", "2015-05-25 18:17:02.010029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:02.012052"], ["updated_at", "2015-05-25 18:17:02.012052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:02.013583"], ["updated_at", "2015-05-25 18:17:02.013583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:02.015780"], ["updated_at", "2015-05-25 18:17:02.015780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:02.017285"], ["updated_at", "2015-05-25 18:17:02.017285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:02.019019"], ["updated_at", "2015-05-25 18:17:02.019019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:02.021743"], ["updated_at", "2015-05-25 18:17:02.021743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:17:02.022971"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:02.025075"], ["updated_at", "2015-05-25 18:17:02.025075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:02.026912"], ["updated_at", "2015-05-25 18:17:02.026912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:02.028312"], ["updated_at", "2015-05-25 18:17:02.028312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:02.030777"], ["updated_at", "2015-05-25 18:17:02.030777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:17:02.031911"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:02.033301"], ["updated_at", "2015-05-25 18:17:02.033301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:02.034935"], ["updated_at", "2015-05-25 18:17:02.034935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:02.037306"], ["updated_at", "2015-05-25 18:17:02.037306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:02.040457"], ["updated_at", "2015-05-25 18:17:02.040457"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:17:02.041674"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:02.043197"], ["updated_at", "2015-05-25 18:17:02.043197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:02.045076"], ["updated_at", "2015-05-25 18:17:02.045076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 18:17:02.046403"], ["updated_at", "2015-05-25 18:17:02.046403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:02.048963"], ["updated_at", "2015-05-25 18:17:02.048963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:17:02.050116"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:02.051679"], ["updated_at", "2015-05-25 18:17:02.051679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:02.053226"], ["updated_at", "2015-05-25 18:17:02.053226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:02.055058"], ["updated_at", "2015-05-25 18:17:02.055058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:02.057576"], ["updated_at", "2015-05-25 18:17:02.057576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:17:02.058778"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:02.060408"], ["updated_at", "2015-05-25 18:17:02.060408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:02.061813"], ["updated_at", "2015-05-25 18:17:02.061813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:02.063440"], ["updated_at", "2015-05-25 18:17:02.063440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:02.065722"], ["updated_at", "2015-05-25 18:17:02.065722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 18:17:02.067627"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:02.069585"], ["updated_at", "2015-05-25 18:17:02.069585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:02.072047"], ["updated_at", "2015-05-25 18:17:02.072047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:02.073574"], ["updated_at", "2015-05-25 18:17:02.073574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:02.076271"], ["updated_at", "2015-05-25 18:17:02.076271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:17:02.077489"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 18:17:02.103642"], ["updated_at", "2015-05-25 18:17:02.103642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:02.106094"], ["updated_at", "2015-05-25 18:17:02.106094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:17:02.107094"], ["current_period_start", "2015-05-25 18:17:02.107094"], ["current_period_end", "2015-06-25 18:17:02.107094"], ["created_at", "2015-05-25 18:17:02.107986"], ["updated_at", "2015-05-25 18:17:02.107986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:48.856435"], ["updated_at", "2015-05-25 18:17:48.856435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:48.869514"], ["updated_at", "2015-05-25 18:17:48.869514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:48.876747"], ["updated_at", "2015-05-25 18:17:48.876747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:48.882569"], ["updated_at", "2015-05-25 18:17:48.882569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:48.898152"], ["updated_at", "2015-05-25 18:17:48.898152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:17:48.899405"], ["updated_at", "2015-05-25 18:17:48.899887"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:48.905314"], ["updated_at", "2015-05-25 18:17:48.905314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:48.907708"], ["updated_at", "2015-05-25 18:17:48.907708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:48.909811"], ["updated_at", "2015-05-25 18:17:48.909811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:48.911257"], ["updated_at", "2015-05-25 18:17:48.911257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:48.914002"], ["updated_at", "2015-05-25 18:17:48.914002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:17:48.914833"], ["updated_at", "2015-05-25 18:17:48.915349"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:48.952581"], ["updated_at", "2015-05-25 18:17:48.952581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:17:48.668886"], ["created_at", "2015-05-25 18:17:48.954095"], ["updated_at", "2015-05-25 18:17:48.954095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:48.955809"], ["updated_at", "2015-05-25 18:17:48.955809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:48.957540"], ["updated_at", "2015-05-25 18:17:48.957540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:48.958964"], ["updated_at", "2015-05-25 18:17:48.958964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:48.960333"], ["updated_at", "2015-05-25 18:17:48.960333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:48.961684"], ["updated_at", "2015-05-25 18:17:48.961684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:48.963330"], ["updated_at", "2015-05-25 18:17:48.963330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:48.964877"], ["updated_at", "2015-05-25 18:17:48.964877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:48.966999"], ["updated_at", "2015-05-25 18:17:48.966999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:48.968944"], ["updated_at", "2015-05-25 18:17:48.968944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:48.970911"], ["updated_at", "2015-05-25 18:17:48.970911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 21:17:48.969608"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:48.972357"], ["updated_at", "2015-05-25 18:17:48.972357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 21:17:48.969608"], ["status", "generated"], ["created_at", "2015-05-25 18:17:48.973670"], ["updated_at", "2015-05-25 18:17:48.973670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:48.978878"], ["updated_at", "2015-05-25 18:17:48.978878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:48.980925"], ["updated_at", "2015-05-25 18:17:48.980925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:48.982527"], ["updated_at", "2015-05-25 18:17:48.982527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:48.984057"], ["updated_at", "2015-05-25 18:17:48.984057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:48.986177"], ["updated_at", "2015-05-25 18:17:48.986177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:48.987064"], ["updated_at", "2015-05-25 18:17:48.987064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:48.988775"], ["updated_at", "2015-05-25 18:17:48.988775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:48.990082"], ["updated_at", "2015-05-25 18:17:48.990082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:48.992128"], ["updated_at", "2015-05-25 18:17:48.992128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:48.993109"], ["updated_at", "2015-05-25 18:17:48.993109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:48.994686"], ["updated_at", "2015-05-25 18:17:48.994686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:48.996658"], ["updated_at", "2015-05-25 18:17:48.996658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:48.998741"], ["updated_at", "2015-05-25 18:17:48.998741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.000821"], ["updated_at", "2015-05-25 18:17:49.000821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.002322"], ["updated_at", "2015-05-25 18:17:49.002322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.003730"], ["updated_at", "2015-05-25 18:17:49.003730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:49.005306"], ["updated_at", "2015-05-25 18:17:49.005306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.007009"], ["updated_at", "2015-05-25 18:17:49.007009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.008435"], ["updated_at", "2015-05-25 18:17:49.008435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.009739"], ["updated_at", "2015-05-25 18:17:49.009739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:17:49.011154"], ["updated_at", "2015-05-25 18:17:49.011154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.013025"], ["updated_at", "2015-05-25 18:17:49.013025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 15:17:49.011777"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.014313"], ["updated_at", "2015-05-25 18:17:49.014313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 15:17:49.011777"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.015770"], ["updated_at", "2015-05-25 18:17:49.015770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.019308"], ["updated_at", "2015-05-25 18:17:49.019308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.021174"], ["updated_at", "2015-05-25 18:17:49.021174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.022702"], ["updated_at", "2015-05-25 18:17:49.022702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.024832"], ["updated_at", "2015-05-25 18:17:49.024832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.027517"], ["updated_at", "2015-05-25 18:17:49.027517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:17:48.668886"], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.029447"], ["updated_at", "2015-05-25 18:17:49.029447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.031969"], ["updated_at", "2015-05-25 18:17:49.031969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 18:17:49.030301"], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.033355"], ["updated_at", "2015-05-25 18:17:49.033355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.035504"], ["updated_at", "2015-05-25 18:17:49.035504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.037195"], ["updated_at", "2015-05-25 18:17:49.037195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:17:48.668886"], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.038641"], ["updated_at", "2015-05-25 18:17:49.038641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.040648"], ["updated_at", "2015-05-25 18:17:49.040648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.042362"], ["updated_at", "2015-05-25 18:17:49.042362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.044038"], ["updated_at", "2015-05-25 18:17:49.044038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.045356"], ["updated_at", "2015-05-25 18:17:49.045356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.047168"], ["updated_at", "2015-05-25 18:17:49.047168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.048849"], ["updated_at", "2015-05-25 18:17:49.048849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.050192"], ["updated_at", "2015-05-25 18:17:49.050192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.052105"], ["updated_at", "2015-05-25 18:17:49.052105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.053710"], ["updated_at", "2015-05-25 18:17:49.053710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:17:48.668886"], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.055157"], ["updated_at", "2015-05-25 18:17:49.055157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.057890"], ["updated_at", "2015-05-25 18:17:49.057890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.059840"], ["updated_at", "2015-05-25 18:17:49.059840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.061717"], ["updated_at", "2015-05-25 18:17:49.061717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:17:48.668886"], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.063147"], ["updated_at", "2015-05-25 18:17:49.063147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.065220"], ["updated_at", "2015-05-25 18:17:49.065220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.066570"], ["updated_at", "2015-05-25 18:17:49.066570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.068291"], ["updated_at", "2015-05-25 18:17:49.068291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.069561"], ["updated_at", "2015-05-25 18:17:49.069561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.071731"], ["updated_at", "2015-05-25 18:17:49.071731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.073518"], ["updated_at", "2015-05-25 18:17:49.073518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.074769"], ["updated_at", "2015-05-25 18:17:49.074769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.077180"], ["updated_at", "2015-05-25 18:17:49.077180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:17:49.078289"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.079839"], ["updated_at", "2015-05-25 18:17:49.079839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.081212"], ["updated_at", "2015-05-25 18:17:49.081212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.083013"], ["updated_at", "2015-05-25 18:17:49.083013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.085348"], ["updated_at", "2015-05-25 18:17:49.085348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:17:49.086438"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.089582"], ["updated_at", "2015-05-25 18:17:49.089582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.091815"], ["updated_at", "2015-05-25 18:17:49.091815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.093323"], ["updated_at", "2015-05-25 18:17:49.093323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.095804"], ["updated_at", "2015-05-25 18:17:49.095804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:17:49.096900"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.099049"], ["updated_at", "2015-05-25 18:17:49.099049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.100576"], ["updated_at", "2015-05-25 18:17:49.100576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.102263"], ["updated_at", "2015-05-25 18:17:49.102263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.104649"], ["updated_at", "2015-05-25 18:17:49.104649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 18:17:49.105742"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.107171"], ["updated_at", "2015-05-25 18:17:49.107171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.109026"], ["updated_at", "2015-05-25 18:17:49.109026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.110439"], ["updated_at", "2015-05-25 18:17:49.110439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.112777"], ["updated_at", "2015-05-25 18:17:49.112777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:17:49.113858"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.115234"], ["updated_at", "2015-05-25 18:17:49.115234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.116703"], ["updated_at", "2015-05-25 18:17:49.116703"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.119124"], ["updated_at", "2015-05-25 18:17:49.119124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.122549"], ["updated_at", "2015-05-25 18:17:49.122549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:17:49.123871"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.125655"], ["updated_at", "2015-05-25 18:17:49.125655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.127920"], ["updated_at", "2015-05-25 18:17:49.127920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.129352"], ["updated_at", "2015-05-25 18:17:49.129352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.131956"], ["updated_at", "2015-05-25 18:17:49.131956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:17:49.133094"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.138541"], ["updated_at", "2015-05-25 18:17:49.138541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.141593"], ["updated_at", "2015-05-25 18:17:49.141593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.145046"], ["updated_at", "2015-05-25 18:17:49.145046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.150264"], ["updated_at", "2015-05-25 18:17:49.150264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 18:17:49.152102"], ["updated_at", "2015-05-25 18:17:49.152102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:17:49.152939"], ["updated_at", "2015-05-25 18:17:49.153276"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.156064"], ["updated_at", "2015-05-25 18:17:49.156064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:17:49.154826"], ["created_at", "2015-05-25 18:17:49.157528"], ["updated_at", "2015-05-25 18:17:49.157528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.159871"], ["updated_at", "2015-05-25 18:17:49.159871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.162094"], ["updated_at", "2015-05-25 18:17:49.162094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.164372"], ["updated_at", "2015-05-25 18:17:49.164372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.168283"], ["updated_at", "2015-05-25 18:17:49.168283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.170881"], ["updated_at", "2015-05-25 18:17:49.170881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.173495"], ["updated_at", "2015-05-25 18:17:49.173495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.176113"], ["updated_at", "2015-05-25 18:17:49.176113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.178333"], ["updated_at", "2015-05-25 18:17:49.178333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.184818"], ["updated_at", "2015-05-25 18:17:49.184818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.187744"], ["updated_at", "2015-05-25 18:17:49.187744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.190620"], ["updated_at", "2015-05-25 18:17:49.190620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.192832"], ["updated_at", "2015-05-25 18:17:49.192832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.195220"], ["updated_at", "2015-05-25 18:17:49.195220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.197315"], ["updated_at", "2015-05-25 18:17:49.197315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.199937"], ["updated_at", "2015-05-25 18:17:49.199937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.202078"], ["updated_at", "2015-05-25 18:17:49.202078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 18:17:49.205483"], ["updated_at", "2015-05-25 18:17:49.205483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.207138"], ["updated_at", "2015-05-25 18:17:49.207138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:17:49.207981"], ["current_period_start", "2015-05-25 18:17:49.207981"], ["current_period_end", "2015-06-25 18:17:49.207981"], ["created_at", "2015-05-25 18:17:49.208611"], ["updated_at", "2015-05-25 18:17:49.208611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.212328"], ["updated_at", "2015-05-25 18:17:49.212328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.214011"], ["updated_at", "2015-05-25 18:17:49.214011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.215671"], ["updated_at", "2015-05-25 18:17:49.215671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.232685"], ["updated_at", "2015-05-25 18:17:49.232685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:17:49.238721"], ["updated_at", "2015-05-25 18:17:49.238721"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:17:49.240126"], ["updated_at", "2015-05-25 18:17:49.240126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.242252"], ["updated_at", "2015-05-25 18:17:49.242252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.244759"], ["updated_at", "2015-05-25 18:17:49.244759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.246401"], ["updated_at", "2015-05-25 18:17:49.246401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.248220"], ["updated_at", "2015-05-25 18:17:49.248220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.249712"], ["updated_at", "2015-05-25 18:17:49.249712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.252483"], ["updated_at", "2015-05-25 18:17:49.252483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:17:49.253316"], ["updated_at", "2015-05-25 18:17:49.253699"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:17:49.254387"], ["current_period_start", "2015-05-25 18:17:49.254387"], ["current_period_end", "2015-06-25 18:17:49.254387"], ["created_at", "2015-05-25 18:17:49.254943"], ["updated_at", "2015-05-25 18:17:49.254943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.256833"], ["updated_at", "2015-05-25 18:17:49.256833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.258169"], ["updated_at", "2015-05-25 18:17:49.258169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.259862"], ["updated_at", "2015-05-25 18:17:49.259862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.261113"], ["updated_at", "2015-05-25 18:17:49.261113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.263566"], ["updated_at", "2015-05-25 18:17:49.263566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:17:49.264322"], ["updated_at", "2015-05-25 18:17:49.264756"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:17:49.265368"], ["current_period_start", "2015-05-25 18:17:49.265368"], ["current_period_end", "2015-06-25 18:17:49.265368"], ["created_at", "2015-05-25 18:17:49.265892"], ["updated_at", "2015-05-25 18:17:49.265892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.267669"], ["updated_at", "2015-05-25 18:17:49.267669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.268974"], ["updated_at", "2015-05-25 18:17:49.268974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.270585"], ["updated_at", "2015-05-25 18:17:49.270585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:17:49.272639"], ["updated_at", "2015-05-25 18:17:49.272639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:17:49.276089"], ["updated_at", "2015-05-25 18:17:49.276089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:17:49.276996"], ["updated_at", "2015-05-25 18:17:49.277380"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:17:49.278081"], ["current_period_start", "2015-05-25 18:17:49.278081"], ["current_period_end", "2015-06-25 18:17:49.278081"], ["created_at", "2015-05-25 18:17:49.278675"], ["updated_at", "2015-05-25 18:17:49.278675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.280725"], ["updated_at", "2015-05-25 18:17:49.280725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.282339"], ["updated_at", "2015-05-25 18:17:49.282339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:17:49.283431"], ["current_period_start", "2015-05-25 18:17:49.283431"], ["current_period_end", "2015-06-25 18:17:49.283431"], ["created_at", "2015-05-25 18:17:49.283985"], ["updated_at", "2015-05-25 18:17:49.283985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:17:49.285878"], ["updated_at", "2015-05-25 18:17:49.285878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.287374"], ["updated_at", "2015-05-25 18:17:49.287374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:17:49.288405"], ["current_period_start", "2015-05-25 18:17:49.288405"], ["current_period_end", "2015-06-25 18:17:49.288405"], ["created_at", "2015-05-25 18:17:49.288968"], ["updated_at", "2015-05-25 18:17:49.288968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.291490"], ["updated_at", "2015-05-25 18:17:49.291490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.293795"], ["updated_at", "2015-05-25 18:17:49.293795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:17:49.297277"], ["updated_at", "2015-05-25 18:17:49.297277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:17:49.296395"], ["created_at", "2015-05-25 18:17:49.298514"], ["updated_at", "2015-05-25 18:17:49.298514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.265045"], ["updated_at", "2015-05-25 18:18:40.265045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:18:40.030754"], ["created_at", "2015-05-25 18:18:40.270877"], ["updated_at", "2015-05-25 18:18:40.270877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:40.277479"], ["updated_at", "2015-05-25 18:18:40.277479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.279779"], ["updated_at", "2015-05-25 18:18:40.279779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.281999"], ["updated_at", "2015-05-25 18:18:40.281999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.285232"], ["updated_at", "2015-05-25 18:18:40.285232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.293044"], ["updated_at", "2015-05-25 18:18:40.293044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:40.294005"], ["updated_at", "2015-05-25 18:18:40.294005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.295871"], ["updated_at", "2015-05-25 18:18:40.295871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.297326"], ["updated_at", "2015-05-25 18:18:40.297326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:40.299979"], ["updated_at", "2015-05-25 18:18:40.299979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.302172"], ["updated_at", "2015-05-25 18:18:40.302172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 21:18:40.300752"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.303679"], ["updated_at", "2015-05-25 18:18:40.303679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 21:18:40.300752"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.305452"], ["updated_at", "2015-05-25 18:18:40.305452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:40.307102"], ["updated_at", "2015-05-25 18:18:40.307102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.309047"], ["updated_at", "2015-05-25 18:18:40.309047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.310542"], ["updated_at", "2015-05-25 18:18:40.310542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.312299"], ["updated_at", "2015-05-25 18:18:40.312299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.314484"], ["updated_at", "2015-05-25 18:18:40.314484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:40.315498"], ["updated_at", "2015-05-25 18:18:40.315498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.317102"], ["updated_at", "2015-05-25 18:18:40.317102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.318487"], ["updated_at", "2015-05-25 18:18:40.318487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:40.319957"], ["updated_at", "2015-05-25 18:18:40.319957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.321918"], ["updated_at", "2015-05-25 18:18:40.321918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.323493"], ["updated_at", "2015-05-25 18:18:40.323493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.325063"], ["updated_at", "2015-05-25 18:18:40.325063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:40.326627"], ["updated_at", "2015-05-25 18:18:40.326627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.329330"], ["updated_at", "2015-05-25 18:18:40.329330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 15:18:40.327295"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.331250"], ["updated_at", "2015-05-25 18:18:40.331250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 15:18:40.327295"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.332888"], ["updated_at", "2015-05-25 18:18:40.332888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:40.338326"], ["updated_at", "2015-05-25 18:18:40.338326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.340324"], ["updated_at", "2015-05-25 18:18:40.340324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.341770"], ["updated_at", "2015-05-25 18:18:40.341770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.343137"], ["updated_at", "2015-05-25 18:18:40.343137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:40.344740"], ["updated_at", "2015-05-25 18:18:40.344740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.346446"], ["updated_at", "2015-05-25 18:18:40.346446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.347820"], ["updated_at", "2015-05-25 18:18:40.347820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.349078"], ["updated_at", "2015-05-25 18:18:40.349078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.351554"], ["updated_at", "2015-05-25 18:18:40.351554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.354111"], ["updated_at", "2015-05-25 18:18:40.354111"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.357789"], ["updated_at", "2015-05-25 18:18:40.357789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:18:40.356836"], ["created_at", "2015-05-25 18:18:40.359764"], ["updated_at", "2015-05-25 18:18:40.359764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.366473"], ["updated_at", "2015-05-25 18:18:40.366473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.368178"], ["updated_at", "2015-05-25 18:18:40.368178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.369916"], ["updated_at", "2015-05-25 18:18:40.369916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.371259"], ["updated_at", "2015-05-25 18:18:40.371259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.379293"], ["updated_at", "2015-05-25 18:18:40.379293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:18:40.380122"], ["updated_at", "2015-05-25 18:18:40.380519"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.385674"], ["updated_at", "2015-05-25 18:18:40.385674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.387235"], ["updated_at", "2015-05-25 18:18:40.387235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.389382"], ["updated_at", "2015-05-25 18:18:40.389382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.391331"], ["updated_at", "2015-05-25 18:18:40.391331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.394393"], ["updated_at", "2015-05-25 18:18:40.394393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:18:40.395210"], ["updated_at", "2015-05-25 18:18:40.395613"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 18:18:40.397748"], ["updated_at", "2015-05-25 18:18:40.397748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.399350"], ["updated_at", "2015-05-25 18:18:40.399350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:18:40.400014"], ["current_period_start", "2015-05-25 18:18:40.400014"], ["current_period_end", "2015-06-25 18:18:40.400014"], ["created_at", "2015-05-25 18:18:40.400762"], ["updated_at", "2015-05-25 18:18:40.400762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.403845"], ["updated_at", "2015-05-25 18:18:40.403845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:18:40.402633"], ["created_at", "2015-05-25 18:18:40.405617"], ["updated_at", "2015-05-25 18:18:40.405617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.408016"], ["updated_at", "2015-05-25 18:18:40.408016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 18:18:40.409357"], ["updated_at", "2015-05-25 18:18:40.409357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:18:40.410142"], ["updated_at", "2015-05-25 18:18:40.410491"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.412090"], ["updated_at", "2015-05-25 18:18:40.412090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.413587"], ["updated_at", "2015-05-25 18:18:40.413587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.415501"], ["updated_at", "2015-05-25 18:18:40.415501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.416842"], ["updated_at", "2015-05-25 18:18:40.416842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.419009"], ["updated_at", "2015-05-25 18:18:40.419009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.421146"], ["updated_at", "2015-05-25 18:18:40.421146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.423239"], ["updated_at", "2015-05-25 18:18:40.423239"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:18:40.030754"], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.424777"], ["updated_at", "2015-05-25 18:18:40.424777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.426843"], ["updated_at", "2015-05-25 18:18:40.426843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.428522"], ["updated_at", "2015-05-25 18:18:40.428522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.429991"], ["updated_at", "2015-05-25 18:18:40.429991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.432389"], ["updated_at", "2015-05-25 18:18:40.432389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:18:40.433519"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.435665"], ["updated_at", "2015-05-25 18:18:40.435665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.437090"], ["updated_at", "2015-05-25 18:18:40.437090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.438757"], ["updated_at", "2015-05-25 18:18:40.438757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.441264"], ["updated_at", "2015-05-25 18:18:40.441264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:18:40.442417"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.444321"], ["updated_at", "2015-05-25 18:18:40.444321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.446115"], ["updated_at", "2015-05-25 18:18:40.446115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.447420"], ["updated_at", "2015-05-25 18:18:40.447420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.450231"], ["updated_at", "2015-05-25 18:18:40.450231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:18:40.451943"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.453783"], ["updated_at", "2015-05-25 18:18:40.453783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.455466"], ["updated_at", "2015-05-25 18:18:40.455466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.457169"], ["updated_at", "2015-05-25 18:18:40.457169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.459654"], ["updated_at", "2015-05-25 18:18:40.459654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:18:40.460754"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.462212"], ["updated_at", "2015-05-25 18:18:40.462212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.463993"], ["updated_at", "2015-05-25 18:18:40.463993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.465354"], ["updated_at", "2015-05-25 18:18:40.465354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.467914"], ["updated_at", "2015-05-25 18:18:40.467914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:18:40.469125"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.470493"], ["updated_at", "2015-05-25 18:18:40.470493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.472279"], ["updated_at", "2015-05-25 18:18:40.472279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.473567"], ["updated_at", "2015-05-25 18:18:40.473567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.475998"], ["updated_at", "2015-05-25 18:18:40.475998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:18:40.477096"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.478505"], ["updated_at", "2015-05-25 18:18:40.478505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.480795"], ["updated_at", "2015-05-25 18:18:40.480795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.483194"], ["updated_at", "2015-05-25 18:18:40.483194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.485907"], ["updated_at", "2015-05-25 18:18:40.485907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 18:18:40.487037"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.491545"], ["updated_at", "2015-05-25 18:18:40.491545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.493503"], ["updated_at", "2015-05-25 18:18:40.493503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:18:40.030754"], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.495057"], ["updated_at", "2015-05-25 18:18:40.495057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.497121"], ["updated_at", "2015-05-25 18:18:40.497121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 18:18:40.495907"], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.498696"], ["updated_at", "2015-05-25 18:18:40.498696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.500944"], ["updated_at", "2015-05-25 18:18:40.500944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.502676"], ["updated_at", "2015-05-25 18:18:40.502676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.504233"], ["updated_at", "2015-05-25 18:18:40.504233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.506096"], ["updated_at", "2015-05-25 18:18:40.506096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.507792"], ["updated_at", "2015-05-25 18:18:40.507792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:18:40.030754"], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.509118"], ["updated_at", "2015-05-25 18:18:40.509118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.511567"], ["updated_at", "2015-05-25 18:18:40.511567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.513742"], ["updated_at", "2015-05-25 18:18:40.513742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.515403"], ["updated_at", "2015-05-25 18:18:40.515403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.517888"], ["updated_at", "2015-05-25 18:18:40.517888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.519797"], ["updated_at", "2015-05-25 18:18:40.519797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:18:40.030754"], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.521320"], ["updated_at", "2015-05-25 18:18:40.521320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.523318"], ["updated_at", "2015-05-25 18:18:40.523318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.524977"], ["updated_at", "2015-05-25 18:18:40.524977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.526893"], ["updated_at", "2015-05-25 18:18:40.526893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.528353"], ["updated_at", "2015-05-25 18:18:40.528353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.532249"], ["updated_at", "2015-05-25 18:18:40.532249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.540964"], ["updated_at", "2015-05-25 18:18:40.540964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.545929"], ["updated_at", "2015-05-25 18:18:40.545929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.548988"], ["updated_at", "2015-05-25 18:18:40.548988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.550714"], ["updated_at", "2015-05-25 18:18:40.550714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:18:40.551842"], ["current_period_start", "2015-05-25 18:18:40.551842"], ["current_period_end", "2015-06-25 18:18:40.551842"], ["created_at", "2015-05-25 18:18:40.552490"], ["updated_at", "2015-05-25 18:18:40.552490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.553962"], ["updated_at", "2015-05-25 18:18:40.553962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.555694"], ["updated_at", "2015-05-25 18:18:40.555694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:18:40.556774"], ["current_period_start", "2015-05-25 18:18:40.556774"], ["current_period_end", "2015-06-25 18:18:40.556774"], ["created_at", "2015-05-25 18:18:40.557334"], ["updated_at", "2015-05-25 18:18:40.557334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.559241"], ["updated_at", "2015-05-25 18:18:40.559241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.560765"], ["updated_at", "2015-05-25 18:18:40.560765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.562500"], ["updated_at", "2015-05-25 18:18:40.562500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.563783"], ["updated_at", "2015-05-25 18:18:40.563783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.566317"], ["updated_at", "2015-05-25 18:18:40.566317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:18:40.567122"], ["updated_at", "2015-05-25 18:18:40.567526"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:18:40.568164"], ["current_period_start", "2015-05-25 18:18:40.568164"], ["current_period_end", "2015-06-25 18:18:40.568164"], ["created_at", "2015-05-25 18:18:40.568679"], ["updated_at", "2015-05-25 18:18:40.568679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.570478"], ["updated_at", "2015-05-25 18:18:40.570478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.572172"], ["updated_at", "2015-05-25 18:18:40.572172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.574841"], ["updated_at", "2015-05-25 18:18:40.574841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.576304"], ["updated_at", "2015-05-25 18:18:40.576304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.579002"], ["updated_at", "2015-05-25 18:18:40.579002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:18:40.579942"], ["updated_at", "2015-05-25 18:18:40.580429"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:18:40.581087"], ["current_period_start", "2015-05-25 18:18:40.581087"], ["current_period_end", "2015-06-25 18:18:40.581087"], ["created_at", "2015-05-25 18:18:40.581650"], ["updated_at", "2015-05-25 18:18:40.581650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:40.583545"], ["updated_at", "2015-05-25 18:18:40.583545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.585161"], ["updated_at", "2015-05-25 18:18:40.585161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.586840"], ["updated_at", "2015-05-25 18:18:40.586840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:40.588204"], ["updated_at", "2015-05-25 18:18:40.588204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:40.590683"], ["updated_at", "2015-05-25 18:18:40.590683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:18:40.591471"], ["updated_at", "2015-05-25 18:18:40.591831"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:18:40.592425"], ["current_period_start", "2015-05-25 18:18:40.592425"], ["current_period_end", "2015-06-25 18:18:40.592425"], ["created_at", "2015-05-25 18:18:40.592942"], ["updated_at", "2015-05-25 18:18:40.592942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.595485"], ["updated_at", "2015-05-25 18:18:40.595485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.598345"], ["updated_at", "2015-05-25 18:18:40.598345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.601398"], ["updated_at", "2015-05-25 18:18:40.601398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.606106"], ["updated_at", "2015-05-25 18:18:40.606106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.609313"], ["updated_at", "2015-05-25 18:18:40.609313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.612282"], ["updated_at", "2015-05-25 18:18:40.612282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.615117"], ["updated_at", "2015-05-25 18:18:40.615117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.618759"], ["updated_at", "2015-05-25 18:18:40.618759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.624040"], ["updated_at", "2015-05-25 18:18:40.624040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.626727"], ["updated_at", "2015-05-25 18:18:40.626727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.629410"], ["updated_at", "2015-05-25 18:18:40.629410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.631952"], ["updated_at", "2015-05-25 18:18:40.631952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.635508"], ["updated_at", "2015-05-25 18:18:40.635508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.638334"], ["updated_at", "2015-05-25 18:18:40.638334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.641084"], ["updated_at", "2015-05-25 18:18:40.641084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.643495"], ["updated_at", "2015-05-25 18:18:40.643495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.646081"], ["updated_at", "2015-05-25 18:18:40.646081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.647540"], ["updated_at", "2015-05-25 18:18:40.647540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.649034"], ["updated_at", "2015-05-25 18:18:40.649034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.672288"], ["updated_at", "2015-05-25 18:18:40.672288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:18:40.675075"], ["updated_at", "2015-05-25 18:18:40.675075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:18:40.676477"], ["updated_at", "2015-05-25 18:18:40.676477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:40.677800"], ["updated_at", "2015-05-25 18:18:40.677800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.259550"], ["updated_at", "2015-05-25 18:18:56.259550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.270559"], ["updated_at", "2015-05-25 18:18:56.270559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.277789"], ["updated_at", "2015-05-25 18:18:56.277789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.282786"], ["updated_at", "2015-05-25 18:18:56.282786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.298061"], ["updated_at", "2015-05-25 18:18:56.298061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:18:56.298965"], ["updated_at", "2015-05-25 18:18:56.299403"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:18:56.301768"], ["current_period_start", "2015-05-25 18:18:56.301768"], ["current_period_end", "2015-06-25 18:18:56.301768"], ["created_at", "2015-05-25 18:18:56.302578"], ["updated_at", "2015-05-25 18:18:56.302578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.306497"], ["updated_at", "2015-05-25 18:18:56.306497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.308403"], ["updated_at", "2015-05-25 18:18:56.308403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.310458"], ["updated_at", "2015-05-25 18:18:56.310458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.312273"], ["updated_at", "2015-05-25 18:18:56.312273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.314921"], ["updated_at", "2015-05-25 18:18:56.314921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:18:56.315756"], ["updated_at", "2015-05-25 18:18:56.316156"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:18:56.317159"], ["current_period_start", "2015-05-25 18:18:56.317159"], ["current_period_end", "2015-06-25 18:18:56.317159"], ["created_at", "2015-05-25 18:18:56.317728"], ["updated_at", "2015-05-25 18:18:56.317728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.319940"], ["updated_at", "2015-05-25 18:18:56.319940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.321757"], ["updated_at", "2015-05-25 18:18:56.321757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.323782"], ["updated_at", "2015-05-25 18:18:56.323782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.325179"], ["updated_at", "2015-05-25 18:18:56.325179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.327939"], ["updated_at", "2015-05-25 18:18:56.327939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:18:56.328781"], ["updated_at", "2015-05-25 18:18:56.329175"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:18:56.329883"], ["current_period_start", "2015-05-25 18:18:56.329883"], ["current_period_end", "2015-06-25 18:18:56.329883"], ["created_at", "2015-05-25 18:18:56.330452"], ["updated_at", "2015-05-25 18:18:56.330452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.333582"], ["updated_at", "2015-05-25 18:18:56.333582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.335505"], ["updated_at", "2015-05-25 18:18:56.335505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:18:56.336707"], ["current_period_start", "2015-05-25 18:18:56.336707"], ["current_period_end", "2015-06-25 18:18:56.336707"], ["created_at", "2015-05-25 18:18:56.337321"], ["updated_at", "2015-05-25 18:18:56.337321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.339332"], ["updated_at", "2015-05-25 18:18:56.339332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.340919"], ["updated_at", "2015-05-25 18:18:56.340919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:18:56.342015"], ["current_period_start", "2015-05-25 18:18:56.342015"], ["current_period_end", "2015-06-25 18:18:56.342015"], ["created_at", "2015-05-25 18:18:56.342659"], ["updated_at", "2015-05-25 18:18:56.342659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.345297"], ["updated_at", "2015-05-25 18:18:56.345297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.346964"], ["updated_at", "2015-05-25 18:18:56.346964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.348361"], ["updated_at", "2015-05-25 18:18:56.348361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.350139"], ["updated_at", "2015-05-25 18:18:56.350139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.351976"], ["updated_at", "2015-05-25 18:18:56.351976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:18:56.037293"], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.353316"], ["updated_at", "2015-05-25 18:18:56.353316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.355261"], ["updated_at", "2015-05-25 18:18:56.355261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.356809"], ["updated_at", "2015-05-25 18:18:56.356809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.358411"], ["updated_at", "2015-05-25 18:18:56.358411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.359768"], ["updated_at", "2015-05-25 18:18:56.359768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.361685"], ["updated_at", "2015-05-25 18:18:56.361685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.363244"], ["updated_at", "2015-05-25 18:18:56.363244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:18:56.037293"], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.365402"], ["updated_at", "2015-05-25 18:18:56.365402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.367855"], ["updated_at", "2015-05-25 18:18:56.367855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.369649"], ["updated_at", "2015-05-25 18:18:56.369649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.371104"], ["updated_at", "2015-05-25 18:18:56.371104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.373053"], ["updated_at", "2015-05-25 18:18:56.373053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.374696"], ["updated_at", "2015-05-25 18:18:56.374696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:18:56.037293"], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.376090"], ["updated_at", "2015-05-25 18:18:56.376090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.377854"], ["updated_at", "2015-05-25 18:18:56.377854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 18:18:56.376752"], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.379128"], ["updated_at", "2015-05-25 18:18:56.379128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.393010"], ["updated_at", "2015-05-25 18:18:56.393010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:18:56.406233"], ["updated_at", "2015-05-25 18:18:56.406233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:18:56.407837"], ["updated_at", "2015-05-25 18:18:56.407837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.409351"], ["updated_at", "2015-05-25 18:18:56.409351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.411952"], ["updated_at", "2015-05-25 18:18:56.411952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.413374"], ["updated_at", "2015-05-25 18:18:56.413374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.414768"], ["updated_at", "2015-05-25 18:18:56.414768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.417531"], ["updated_at", "2015-05-25 18:18:56.417531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:18:56.416365"], ["created_at", "2015-05-25 18:18:56.419022"], ["updated_at", "2015-05-25 18:18:56.419022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.429496"], ["updated_at", "2015-05-25 18:18:56.429496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.432275"], ["updated_at", "2015-05-25 18:18:56.432275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 18:18:56.434043"], ["updated_at", "2015-05-25 18:18:56.434043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.435657"], ["updated_at", "2015-05-25 18:18:56.435657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:18:56.436332"], ["current_period_start", "2015-05-25 18:18:56.436332"], ["current_period_end", "2015-06-25 18:18:56.436332"], ["created_at", "2015-05-25 18:18:56.436925"], ["updated_at", "2015-05-25 18:18:56.436925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.439935"], ["updated_at", "2015-05-25 18:18:56.439935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.442480"], ["updated_at", "2015-05-25 18:18:56.442480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.444737"], ["updated_at", "2015-05-25 18:18:56.444737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.446822"], ["updated_at", "2015-05-25 18:18:56.446822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.449378"], ["updated_at", "2015-05-25 18:18:56.449378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.451653"], ["updated_at", "2015-05-25 18:18:56.451653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.454208"], ["updated_at", "2015-05-25 18:18:56.454208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.458172"], ["updated_at", "2015-05-25 18:18:56.458172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.463166"], ["updated_at", "2015-05-25 18:18:56.463166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.465946"], ["updated_at", "2015-05-25 18:18:56.465946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.469061"], ["updated_at", "2015-05-25 18:18:56.469061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.471676"], ["updated_at", "2015-05-25 18:18:56.471676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.474284"], ["updated_at", "2015-05-25 18:18:56.474284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.477040"], ["updated_at", "2015-05-25 18:18:56.477040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.479591"], ["updated_at", "2015-05-25 18:18:56.479591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.481915"], ["updated_at", "2015-05-25 18:18:56.481915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.483717"], ["updated_at", "2015-05-25 18:18:56.483717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.485033"], ["updated_at", "2015-05-25 18:18:56.485033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.486745"], ["updated_at", "2015-05-25 18:18:56.486745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.488926"], ["updated_at", "2015-05-25 18:18:56.488926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.492338"], ["updated_at", "2015-05-25 18:18:56.492338"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:18:56.493167"], ["updated_at", "2015-05-25 18:18:56.493554"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.495551"], ["updated_at", "2015-05-25 18:18:56.495551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.497085"], ["updated_at", "2015-05-25 18:18:56.497085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.498844"], ["updated_at", "2015-05-25 18:18:56.498844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.500134"], ["updated_at", "2015-05-25 18:18:56.500134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.502711"], ["updated_at", "2015-05-25 18:18:56.502711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:18:56.503548"], ["updated_at", "2015-05-25 18:18:56.503964"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.510865"], ["updated_at", "2015-05-25 18:18:56.510865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.514989"], ["updated_at", "2015-05-25 18:18:56.514989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.524086"], ["updated_at", "2015-05-25 18:18:56.524086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.530649"], ["updated_at", "2015-05-25 18:18:56.530649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:18:56.037293"], ["created_at", "2015-05-25 18:18:56.532068"], ["updated_at", "2015-05-25 18:18:56.532068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.534138"], ["updated_at", "2015-05-25 18:18:56.534138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:56.535261"], ["updated_at", "2015-05-25 18:18:56.535261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.536934"], ["updated_at", "2015-05-25 18:18:56.536934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.538367"], ["updated_at", "2015-05-25 18:18:56.538367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:56.539895"], ["updated_at", "2015-05-25 18:18:56.539895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.541560"], ["updated_at", "2015-05-25 18:18:56.541560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.542865"], ["updated_at", "2015-05-25 18:18:56.542865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.544167"], ["updated_at", "2015-05-25 18:18:56.544167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:56.545729"], ["updated_at", "2015-05-25 18:18:56.545729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.547411"], ["updated_at", "2015-05-25 18:18:56.547411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 21:18:56.546298"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.549518"], ["updated_at", "2015-05-25 18:18:56.549518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 21:18:56.546298"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.551207"], ["updated_at", "2015-05-25 18:18:56.551207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:56.552850"], ["updated_at", "2015-05-25 18:18:56.552850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.554849"], ["updated_at", "2015-05-25 18:18:56.554849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 15:18:56.553460"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.556265"], ["updated_at", "2015-05-25 18:18:56.556265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 15:18:56.553460"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.557552"], ["updated_at", "2015-05-25 18:18:56.557552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:56.558977"], ["updated_at", "2015-05-25 18:18:56.558977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.560617"], ["updated_at", "2015-05-25 18:18:56.560617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.561938"], ["updated_at", "2015-05-25 18:18:56.561938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.563166"], ["updated_at", "2015-05-25 18:18:56.563166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.565184"], ["updated_at", "2015-05-25 18:18:56.565184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:56.566059"], ["updated_at", "2015-05-25 18:18:56.566059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.567610"], ["updated_at", "2015-05-25 18:18:56.567610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.569052"], ["updated_at", "2015-05-25 18:18:56.569052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:56.570425"], ["updated_at", "2015-05-25 18:18:56.570425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.572076"], ["updated_at", "2015-05-25 18:18:56.572076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.573396"], ["updated_at", "2015-05-25 18:18:56.573396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.574810"], ["updated_at", "2015-05-25 18:18:56.574810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:56.576207"], ["updated_at", "2015-05-25 18:18:56.576207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.577789"], ["updated_at", "2015-05-25 18:18:56.577789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.579871"], ["updated_at", "2015-05-25 18:18:56.579871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.581504"], ["updated_at", "2015-05-25 18:18:56.581504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:18:56.583094"], ["updated_at", "2015-05-25 18:18:56.583094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.585172"], ["updated_at", "2015-05-25 18:18:56.585172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.586657"], ["updated_at", "2015-05-25 18:18:56.586657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.588053"], ["updated_at", "2015-05-25 18:18:56.588053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.589577"], ["updated_at", "2015-05-25 18:18:56.589577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.590940"], ["updated_at", "2015-05-25 18:18:56.590940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.592606"], ["updated_at", "2015-05-25 18:18:56.592606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:18:56.037293"], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.593934"], ["updated_at", "2015-05-25 18:18:56.593934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.595912"], ["updated_at", "2015-05-25 18:18:56.595912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.597252"], ["updated_at", "2015-05-25 18:18:56.597252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.598958"], ["updated_at", "2015-05-25 18:18:56.598958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.600204"], ["updated_at", "2015-05-25 18:18:56.600204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.602086"], ["updated_at", "2015-05-25 18:18:56.602086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.603895"], ["updated_at", "2015-05-25 18:18:56.603895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.605807"], ["updated_at", "2015-05-25 18:18:56.605807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.608851"], ["updated_at", "2015-05-25 18:18:56.608851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:18:56.610496"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.613169"], ["updated_at", "2015-05-25 18:18:56.613169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.615248"], ["updated_at", "2015-05-25 18:18:56.615248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.616760"], ["updated_at", "2015-05-25 18:18:56.616760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.619372"], ["updated_at", "2015-05-25 18:18:56.619372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:18:56.620491"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.621988"], ["updated_at", "2015-05-25 18:18:56.621988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.623705"], ["updated_at", "2015-05-25 18:18:56.623705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.625004"], ["updated_at", "2015-05-25 18:18:56.625004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.627364"], ["updated_at", "2015-05-25 18:18:56.627364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:18:56.628462"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.629911"], ["updated_at", "2015-05-25 18:18:56.629911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.631838"], ["updated_at", "2015-05-25 18:18:56.631838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.633080"], ["updated_at", "2015-05-25 18:18:56.633080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.635402"], ["updated_at", "2015-05-25 18:18:56.635402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:18:56.636491"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.637888"], ["updated_at", "2015-05-25 18:18:56.637888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.639360"], ["updated_at", "2015-05-25 18:18:56.639360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.641696"], ["updated_at", "2015-05-25 18:18:56.641696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.644789"], ["updated_at", "2015-05-25 18:18:56.644789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:18:56.645960"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.648009"], ["updated_at", "2015-05-25 18:18:56.648009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.649546"], ["updated_at", "2015-05-25 18:18:56.649546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.651433"], ["updated_at", "2015-05-25 18:18:56.651433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.653747"], ["updated_at", "2015-05-25 18:18:56.653747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 18:18:56.654914"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:18:56.656413"], ["updated_at", "2015-05-25 18:18:56.656413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.657848"], ["updated_at", "2015-05-25 18:18:56.657848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:18:56.659534"], ["updated_at", "2015-05-25 18:18:56.659534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:18:56.662020"], ["updated_at", "2015-05-25 18:18:56.662020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:18:56.663097"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.665404"], ["updated_at", "2015-05-25 18:18:56.665404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 18:18:56.666654"], ["updated_at", "2015-05-25 18:18:56.666654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:18:56.667385"], ["updated_at", "2015-05-25 18:18:56.667664"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:18:56.669627"], ["updated_at", "2015-05-25 18:18:56.669627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:18:56.668637"], ["created_at", "2015-05-25 18:18:56.671118"], ["updated_at", "2015-05-25 18:18:56.671118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.688148"], ["updated_at", "2015-05-25 18:20:12.688148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.699729"], ["updated_at", "2015-05-25 18:20:12.699729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.706852"], ["updated_at", "2015-05-25 18:20:12.706852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:12.712435"], ["updated_at", "2015-05-25 18:20:12.712435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:12.726040"], ["updated_at", "2015-05-25 18:20:12.726040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:12.727199"], ["updated_at", "2015-05-25 18:20:12.727661"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.733671"], ["updated_at", "2015-05-25 18:20:12.733671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.735690"], ["updated_at", "2015-05-25 18:20:12.735690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.737567"], ["updated_at", "2015-05-25 18:20:12.737567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:12.739052"], ["updated_at", "2015-05-25 18:20:12.739052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:12.741911"], ["updated_at", "2015-05-25 18:20:12.741911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:12.742829"], ["updated_at", "2015-05-25 18:20:12.743193"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 18:20:12.745443"], ["updated_at", "2015-05-25 18:20:12.745443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.752939"], ["updated_at", "2015-05-25 18:20:12.752939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:12.753773"], ["current_period_start", "2015-05-25 18:20:12.753773"], ["current_period_end", "2015-06-25 18:20:12.753773"], ["created_at", "2015-05-25 18:20:12.754477"], ["updated_at", "2015-05-25 18:20:12.754477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.757163"], ["updated_at", "2015-05-25 18:20:12.757163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.758666"], ["updated_at", "2015-05-25 18:20:12.758666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.760484"], ["updated_at", "2015-05-25 18:20:12.760484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:12.761803"], ["updated_at", "2015-05-25 18:20:12.761803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.763765"], ["updated_at", "2015-05-25 18:20:12.763765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.765117"], ["updated_at", "2015-05-25 18:20:12.765117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.767053"], ["updated_at", "2015-05-25 18:20:12.767053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:12.501118"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:12.768448"], ["updated_at", "2015-05-25 18:20:12.768448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.770391"], ["updated_at", "2015-05-25 18:20:12.770391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.771895"], ["updated_at", "2015-05-25 18:20:12.771895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:12.773501"], ["updated_at", "2015-05-25 18:20:12.773501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:12.775967"], ["updated_at", "2015-05-25 18:20:12.775967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 18:20:12.777401"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.779108"], ["updated_at", "2015-05-25 18:20:12.779108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.780876"], ["updated_at", "2015-05-25 18:20:12.780876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:12.782219"], ["updated_at", "2015-05-25 18:20:12.782219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:12.784719"], ["updated_at", "2015-05-25 18:20:12.784719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:20:12.785823"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.788060"], ["updated_at", "2015-05-25 18:20:12.788060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.789907"], ["updated_at", "2015-05-25 18:20:12.789907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 18:20:12.791224"], ["updated_at", "2015-05-25 18:20:12.791224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:12.793799"], ["updated_at", "2015-05-25 18:20:12.793799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:20:12.794905"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.796318"], ["updated_at", "2015-05-25 18:20:12.796318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.798057"], ["updated_at", "2015-05-25 18:20:12.798057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:12.799770"], ["updated_at", "2015-05-25 18:20:12.799770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:12.802101"], ["updated_at", "2015-05-25 18:20:12.802101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:20:12.803197"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.804718"], ["updated_at", "2015-05-25 18:20:12.804718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.806936"], ["updated_at", "2015-05-25 18:20:12.806936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:12.808690"], ["updated_at", "2015-05-25 18:20:12.808690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:12.811444"], ["updated_at", "2015-05-25 18:20:12.811444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:20:12.812683"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.814380"], ["updated_at", "2015-05-25 18:20:12.814380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.816010"], ["updated_at", "2015-05-25 18:20:12.816010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:12.817864"], ["updated_at", "2015-05-25 18:20:12.817864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:12.820631"], ["updated_at", "2015-05-25 18:20:12.820631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:20:12.821782"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.823661"], ["updated_at", "2015-05-25 18:20:12.823661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.825420"], ["updated_at", "2015-05-25 18:20:12.825420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:12.826714"], ["updated_at", "2015-05-25 18:20:12.826714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:12.829288"], ["updated_at", "2015-05-25 18:20:12.829288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:20:12.830440"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.832695"], ["updated_at", "2015-05-25 18:20:12.832695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.834120"], ["updated_at", "2015-05-25 18:20:12.834120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.835474"], ["updated_at", "2015-05-25 18:20:12.835474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.846506"], ["updated_at", "2015-05-25 18:20:12.846506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:20:12.860905"], ["updated_at", "2015-05-25 18:20:12.860905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:20:12.862264"], ["updated_at", "2015-05-25 18:20:12.862264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.863606"], ["updated_at", "2015-05-25 18:20:12.863606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.889155"], ["updated_at", "2015-05-25 18:20:12.889155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:20:12.887847"], ["created_at", "2015-05-25 18:20:12.890488"], ["updated_at", "2015-05-25 18:20:12.890488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.893018"], ["updated_at", "2015-05-25 18:20:12.893018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 18:20:12.894274"], ["updated_at", "2015-05-25 18:20:12.894274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:12.894992"], ["updated_at", "2015-05-25 18:20:12.895347"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.897452"], ["updated_at", "2015-05-25 18:20:12.897452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.899866"], ["updated_at", "2015-05-25 18:20:12.899866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.903864"], ["updated_at", "2015-05-25 18:20:12.903864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:20:12.902889"], ["created_at", "2015-05-25 18:20:12.905693"], ["updated_at", "2015-05-25 18:20:12.905693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.913083"], ["updated_at", "2015-05-25 18:20:12.913083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.915731"], ["updated_at", "2015-05-25 18:20:12.915731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.917937"], ["updated_at", "2015-05-25 18:20:12.917937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.920313"], ["updated_at", "2015-05-25 18:20:12.920313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.922987"], ["updated_at", "2015-05-25 18:20:12.922987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.925486"], ["updated_at", "2015-05-25 18:20:12.925486"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.927763"], ["updated_at", "2015-05-25 18:20:12.927763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.930388"], ["updated_at", "2015-05-25 18:20:12.930388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.932939"], ["updated_at", "2015-05-25 18:20:12.932939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.935842"], ["updated_at", "2015-05-25 18:20:12.935842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.938554"], ["updated_at", "2015-05-25 18:20:12.938554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.941848"], ["updated_at", "2015-05-25 18:20:12.941848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.944985"], ["updated_at", "2015-05-25 18:20:12.944985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.948753"], ["updated_at", "2015-05-25 18:20:12.948753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.951246"], ["updated_at", "2015-05-25 18:20:12.951246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.954048"], ["updated_at", "2015-05-25 18:20:12.954048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.956403"], ["updated_at", "2015-05-25 18:20:12.956403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.968328"], ["updated_at", "2015-05-25 18:20:12.968328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.972177"], ["updated_at", "2015-05-25 18:20:12.972177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.977038"], ["updated_at", "2015-05-25 18:20:12.977038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.978719"], ["updated_at", "2015-05-25 18:20:12.978719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:12.979904"], ["current_period_start", "2015-05-25 18:20:12.979904"], ["current_period_end", "2015-06-25 18:20:12.979904"], ["created_at", "2015-05-25 18:20:12.980529"], ["updated_at", "2015-05-25 18:20:12.980529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.981895"], ["updated_at", "2015-05-25 18:20:12.981895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.983521"], ["updated_at", "2015-05-25 18:20:12.983521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:12.984568"], ["current_period_start", "2015-05-25 18:20:12.984568"], ["current_period_end", "2015-06-25 18:20:12.984568"], ["created_at", "2015-05-25 18:20:12.985372"], ["updated_at", "2015-05-25 18:20:12.985372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.987532"], ["updated_at", "2015-05-25 18:20:12.987532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.989104"], ["updated_at", "2015-05-25 18:20:12.989104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:12.990898"], ["updated_at", "2015-05-25 18:20:12.990898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:12.992245"], ["updated_at", "2015-05-25 18:20:12.992245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:12.994785"], ["updated_at", "2015-05-25 18:20:12.994785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:12.995775"], ["updated_at", "2015-05-25 18:20:12.996209"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:12.996875"], ["current_period_start", "2015-05-25 18:20:12.996875"], ["current_period_end", "2015-06-25 18:20:12.996875"], ["created_at", "2015-05-25 18:20:12.997386"], ["updated_at", "2015-05-25 18:20:12.997386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:12.999216"], ["updated_at", "2015-05-25 18:20:12.999216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.000617"], ["updated_at", "2015-05-25 18:20:13.000617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.002521"], ["updated_at", "2015-05-25 18:20:13.002521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.004497"], ["updated_at", "2015-05-25 18:20:13.004497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:13.007980"], ["updated_at", "2015-05-25 18:20:13.007980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:13.008812"], ["updated_at", "2015-05-25 18:20:13.009242"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:13.009881"], ["current_period_start", "2015-05-25 18:20:13.009881"], ["current_period_end", "2015-06-25 18:20:13.009881"], ["created_at", "2015-05-25 18:20:13.010397"], ["updated_at", "2015-05-25 18:20:13.010397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:13.012382"], ["updated_at", "2015-05-25 18:20:13.012382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.013940"], ["updated_at", "2015-05-25 18:20:13.013940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.015872"], ["updated_at", "2015-05-25 18:20:13.015872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.017489"], ["updated_at", "2015-05-25 18:20:13.017489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:13.020176"], ["updated_at", "2015-05-25 18:20:13.020176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:13.021131"], ["updated_at", "2015-05-25 18:20:13.021546"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:13.022159"], ["current_period_start", "2015-05-25 18:20:13.022159"], ["current_period_end", "2015-06-25 18:20:13.022159"], ["created_at", "2015-05-25 18:20:13.022654"], ["updated_at", "2015-05-25 18:20:13.022654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.025466"], ["updated_at", "2015-05-25 18:20:13.025466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:12.501118"], ["created_at", "2015-05-25 18:20:13.026966"], ["updated_at", "2015-05-25 18:20:13.026966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:13.028563"], ["updated_at", "2015-05-25 18:20:13.028563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.030368"], ["updated_at", "2015-05-25 18:20:13.030368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 21:20:13.029198"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.031681"], ["updated_at", "2015-05-25 18:20:13.031681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 21:20:13.029198"], ["status", "generated"], ["created_at", "2015-05-25 18:20:13.032964"], ["updated_at", "2015-05-25 18:20:13.032964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:13.034395"], ["updated_at", "2015-05-25 18:20:13.034395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.036080"], ["updated_at", "2015-05-25 18:20:13.036080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.037571"], ["updated_at", "2015-05-25 18:20:13.037571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:13.038977"], ["updated_at", "2015-05-25 18:20:13.038977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.041006"], ["updated_at", "2015-05-25 18:20:13.041006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:13.041928"], ["updated_at", "2015-05-25 18:20:13.041928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.043496"], ["updated_at", "2015-05-25 18:20:13.043496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:13.044905"], ["updated_at", "2015-05-25 18:20:13.044905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:13.046287"], ["updated_at", "2015-05-25 18:20:13.046287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.047919"], ["updated_at", "2015-05-25 18:20:13.047919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.049551"], ["updated_at", "2015-05-25 18:20:13.049551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:13.050824"], ["updated_at", "2015-05-25 18:20:13.050824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:13.052345"], ["updated_at", "2015-05-25 18:20:13.052345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.054022"], ["updated_at", "2015-05-25 18:20:13.054022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.055483"], ["updated_at", "2015-05-25 18:20:13.055483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:13.056744"], ["updated_at", "2015-05-25 18:20:13.056744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:13.058128"], ["updated_at", "2015-05-25 18:20:13.058128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.060048"], ["updated_at", "2015-05-25 18:20:13.060048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.061405"], ["updated_at", "2015-05-25 18:20:13.061405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:13.062646"], ["updated_at", "2015-05-25 18:20:13.062646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.064692"], ["updated_at", "2015-05-25 18:20:13.064692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:13.065590"], ["updated_at", "2015-05-25 18:20:13.065590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.067680"], ["updated_at", "2015-05-25 18:20:13.067680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:13.068944"], ["updated_at", "2015-05-25 18:20:13.068944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:13.070604"], ["updated_at", "2015-05-25 18:20:13.070604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.072383"], ["updated_at", "2015-05-25 18:20:13.072383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 15:20:13.071214"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.073817"], ["updated_at", "2015-05-25 18:20:13.073817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 15:20:13.071214"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:13.075103"], ["updated_at", "2015-05-25 18:20:13.075103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:13.076520"], ["updated_at", "2015-05-25 18:20:13.076520"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.078103"], ["updated_at", "2015-05-25 18:20:13.078103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.079502"], ["updated_at", "2015-05-25 18:20:13.079502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:13.081044"], ["updated_at", "2015-05-25 18:20:13.081044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:13.083776"], ["updated_at", "2015-05-25 18:20:13.083776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.085577"], ["updated_at", "2015-05-25 18:20:13.085577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:12.501118"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.086909"], ["updated_at", "2015-05-25 18:20:13.086909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:13.088849"], ["updated_at", "2015-05-25 18:20:13.088849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.090458"], ["updated_at", "2015-05-25 18:20:13.090458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.092060"], ["updated_at", "2015-05-25 18:20:13.092060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:13.094033"], ["updated_at", "2015-05-25 18:20:13.094033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.095737"], ["updated_at", "2015-05-25 18:20:13.095737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:12.501118"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.097079"], ["updated_at", "2015-05-25 18:20:13.097079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.098811"], ["updated_at", "2015-05-25 18:20:13.098811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 18:20:13.097737"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.100142"], ["updated_at", "2015-05-25 18:20:13.100142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:13.102350"], ["updated_at", "2015-05-25 18:20:13.102350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.104060"], ["updated_at", "2015-05-25 18:20:13.104060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.105805"], ["updated_at", "2015-05-25 18:20:13.105805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:13.109052"], ["updated_at", "2015-05-25 18:20:13.109052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.110869"], ["updated_at", "2015-05-25 18:20:13.110869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:12.501118"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.112678"], ["updated_at", "2015-05-25 18:20:13.112678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:13.114728"], ["updated_at", "2015-05-25 18:20:13.114728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:13.116434"], ["updated_at", "2015-05-25 18:20:13.116434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:13.118148"], ["updated_at", "2015-05-25 18:20:13.118148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:13.119652"], ["updated_at", "2015-05-25 18:20:13.119652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.363947"], ["updated_at", "2015-05-25 18:20:25.363947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.381302"], ["updated_at", "2015-05-25 18:20:25.381302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:25.172483"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.387673"], ["updated_at", "2015-05-25 18:20:25.387673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.390508"], ["updated_at", "2015-05-25 18:20:25.390508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 18:20:25.388658"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.392182"], ["updated_at", "2015-05-25 18:20:25.392182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.400267"], ["updated_at", "2015-05-25 18:20:25.400267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.402448"], ["updated_at", "2015-05-25 18:20:25.402448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.404051"], ["updated_at", "2015-05-25 18:20:25.404051"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.408233"], ["updated_at", "2015-05-25 18:20:25.408233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.410218"], ["updated_at", "2015-05-25 18:20:25.410218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:25.172483"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.412518"], ["updated_at", "2015-05-25 18:20:25.412518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.415113"], ["updated_at", "2015-05-25 18:20:25.415113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.416947"], ["updated_at", "2015-05-25 18:20:25.416947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.418892"], ["updated_at", "2015-05-25 18:20:25.418892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.420324"], ["updated_at", "2015-05-25 18:20:25.420324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.422473"], ["updated_at", "2015-05-25 18:20:25.422473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.424205"], ["updated_at", "2015-05-25 18:20:25.424205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:25.172483"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.425557"], ["updated_at", "2015-05-25 18:20:25.425557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.427606"], ["updated_at", "2015-05-25 18:20:25.427606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.429430"], ["updated_at", "2015-05-25 18:20:25.429430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.430840"], ["updated_at", "2015-05-25 18:20:25.430840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 18:20:25.433914"], ["updated_at", "2015-05-25 18:20:25.433914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (5.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.435492"], ["updated_at", "2015-05-25 18:20:25.435492"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:25.441469"], ["current_period_start", "2015-05-25 18:20:25.441469"], ["current_period_end", "2015-06-25 18:20:25.441469"], ["created_at", "2015-05-25 18:20:25.442473"], ["updated_at", "2015-05-25 18:20:25.442473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.446280"], ["updated_at", "2015-05-25 18:20:25.446280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.460003"], ["updated_at", "2015-05-25 18:20:25.460003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.463793"], ["updated_at", "2015-05-25 18:20:25.463793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.466775"], ["updated_at", "2015-05-25 18:20:25.466775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.468444"], ["updated_at", "2015-05-25 18:20:25.468444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:25.469490"], ["current_period_start", "2015-05-25 18:20:25.469490"], ["current_period_end", "2015-06-25 18:20:25.469490"], ["created_at", "2015-05-25 18:20:25.470109"], ["updated_at", "2015-05-25 18:20:25.470109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.471535"], ["updated_at", "2015-05-25 18:20:25.471535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.473190"], ["updated_at", "2015-05-25 18:20:25.473190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:25.475145"], ["current_period_start", "2015-05-25 18:20:25.475145"], ["current_period_end", "2015-06-25 18:20:25.475145"], ["created_at", "2015-05-25 18:20:25.476255"], ["updated_at", "2015-05-25 18:20:25.476255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.479493"], ["updated_at", "2015-05-25 18:20:25.479493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.481085"], ["updated_at", "2015-05-25 18:20:25.481085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.482825"], ["updated_at", "2015-05-25 18:20:25.482825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.484153"], ["updated_at", "2015-05-25 18:20:25.484153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.492710"], ["updated_at", "2015-05-25 18:20:25.492710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:25.493601"], ["updated_at", "2015-05-25 18:20:25.493996"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:25.495187"], ["current_period_start", "2015-05-25 18:20:25.495187"], ["current_period_end", "2015-06-25 18:20:25.495187"], ["created_at", "2015-05-25 18:20:25.495764"], ["updated_at", "2015-05-25 18:20:25.495764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.498704"], ["updated_at", "2015-05-25 18:20:25.498704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.500286"], ["updated_at", "2015-05-25 18:20:25.500286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.501956"], ["updated_at", "2015-05-25 18:20:25.501956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.503822"], ["updated_at", "2015-05-25 18:20:25.503822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.507157"], ["updated_at", "2015-05-25 18:20:25.507157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:25.508067"], ["updated_at", "2015-05-25 18:20:25.508435"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:25.509110"], ["current_period_start", "2015-05-25 18:20:25.509110"], ["current_period_end", "2015-06-25 18:20:25.509110"], ["created_at", "2015-05-25 18:20:25.509662"], ["updated_at", "2015-05-25 18:20:25.509662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.511571"], ["updated_at", "2015-05-25 18:20:25.511571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.512960"], ["updated_at", "2015-05-25 18:20:25.512960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.514597"], ["updated_at", "2015-05-25 18:20:25.514597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.516000"], ["updated_at", "2015-05-25 18:20:25.516000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.518539"], ["updated_at", "2015-05-25 18:20:25.518539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:25.519405"], ["updated_at", "2015-05-25 18:20:25.519767"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:25.520388"], ["current_period_start", "2015-05-25 18:20:25.520388"], ["current_period_end", "2015-06-25 18:20:25.520388"], ["created_at", "2015-05-25 18:20:25.521097"], ["updated_at", "2015-05-25 18:20:25.521097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.524495"], ["updated_at", "2015-05-25 18:20:25.524495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:20:25.523159"], ["created_at", "2015-05-25 18:20:25.526166"], ["updated_at", "2015-05-25 18:20:25.526166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.528574"], ["updated_at", "2015-05-25 18:20:25.528574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 18:20:25.529948"], ["updated_at", "2015-05-25 18:20:25.529948"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:25.530723"], ["updated_at", "2015-05-25 18:20:25.531050"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.534450"], ["updated_at", "2015-05-25 18:20:25.534450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.536611"], ["updated_at", "2015-05-25 18:20:25.536611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.538822"], ["updated_at", "2015-05-25 18:20:25.538822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.540284"], ["updated_at", "2015-05-25 18:20:25.540284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.543026"], ["updated_at", "2015-05-25 18:20:25.543026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:25.543944"], ["updated_at", "2015-05-25 18:20:25.544349"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.547045"], ["updated_at", "2015-05-25 18:20:25.547045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.548730"], ["updated_at", "2015-05-25 18:20:25.548730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.550600"], ["updated_at", "2015-05-25 18:20:25.550600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.552113"], ["updated_at", "2015-05-25 18:20:25.552113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.559840"], ["updated_at", "2015-05-25 18:20:25.559840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:25.560811"], ["updated_at", "2015-05-25 18:20:25.561183"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.564868"], ["updated_at", "2015-05-25 18:20:25.564868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.566899"], ["updated_at", "2015-05-25 18:20:25.566899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.568568"], ["updated_at", "2015-05-25 18:20:25.568568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.582389"], ["updated_at", "2015-05-25 18:20:25.582389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:20:25.598764"], ["updated_at", "2015-05-25 18:20:25.598764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:20:25.600407"], ["updated_at", "2015-05-25 18:20:25.600407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.601857"], ["updated_at", "2015-05-25 18:20:25.601857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.604017"], ["updated_at", "2015-05-25 18:20:25.604017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.605691"], ["updated_at", "2015-05-25 18:20:25.605691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.607657"], ["updated_at", "2015-05-25 18:20:25.607657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.609060"], ["updated_at", "2015-05-25 18:20:25.609060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.611904"], ["updated_at", "2015-05-25 18:20:25.611904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.614356"], ["updated_at", "2015-05-25 18:20:25.614356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.617648"], ["updated_at", "2015-05-25 18:20:25.617648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:25.172483"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.620389"], ["updated_at", "2015-05-25 18:20:25.620389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.4ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.624644"], ["updated_at", "2015-05-25 18:20:25.624644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.627427"], ["updated_at", "2015-05-25 18:20:25.627427"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.630375"], ["updated_at", "2015-05-25 18:20:25.630375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.634448"], ["updated_at", "2015-05-25 18:20:25.634448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:20:25.636382"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.638973"], ["updated_at", "2015-05-25 18:20:25.638973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.642581"], ["updated_at", "2015-05-25 18:20:25.642581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.644792"], ["updated_at", "2015-05-25 18:20:25.644792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.648846"], ["updated_at", "2015-05-25 18:20:25.648846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:20:25.651037"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.653632"], ["updated_at", "2015-05-25 18:20:25.653632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.657815"], ["updated_at", "2015-05-25 18:20:25.657815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.660712"], ["updated_at", "2015-05-25 18:20:25.660712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.4ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.665125"], ["updated_at", "2015-05-25 18:20:25.665125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:20:25.667055"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.669288"], ["updated_at", "2015-05-25 18:20:25.669288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.673445"], ["updated_at", "2015-05-25 18:20:25.673445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.675792"], ["updated_at", "2015-05-25 18:20:25.675792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.680108"], ["updated_at", "2015-05-25 18:20:25.680108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:20:25.682017"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.683813"], ["updated_at", "2015-05-25 18:20:25.683813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.687067"], ["updated_at", "2015-05-25 18:20:25.687067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.689451"], ["updated_at", "2015-05-25 18:20:25.689451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.692670"], ["updated_at", "2015-05-25 18:20:25.692670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:20:25.694151"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.696096"], ["updated_at", "2015-05-25 18:20:25.696096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.697879"], ["updated_at", "2015-05-25 18:20:25.697879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.700472"], ["updated_at", "2015-05-25 18:20:25.700472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.710501"], ["updated_at", "2015-05-25 18:20:25.710501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:20:25.711683"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:25.713671"], ["updated_at", "2015-05-25 18:20:25.713671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.715141"], ["updated_at", "2015-05-25 18:20:25.715141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.717516"], ["updated_at", "2015-05-25 18:20:25.717516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.720481"], ["updated_at", "2015-05-25 18:20:25.720481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 18:20:25.722063"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.748061"], ["updated_at", "2015-05-25 18:20:25.748061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.751136"], ["updated_at", "2015-05-25 18:20:25.751136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.754694"], ["updated_at", "2015-05-25 18:20:25.754694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:20:25.753777"], ["created_at", "2015-05-25 18:20:25.756155"], ["updated_at", "2015-05-25 18:20:25.756155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.762985"], ["updated_at", "2015-05-25 18:20:25.762985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.765260"], ["updated_at", "2015-05-25 18:20:25.765260"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.767676"], ["updated_at", "2015-05-25 18:20:25.767676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.769827"], ["updated_at", "2015-05-25 18:20:25.769827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.772207"], ["updated_at", "2015-05-25 18:20:25.772207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.774570"], ["updated_at", "2015-05-25 18:20:25.774570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.776889"], ["updated_at", "2015-05-25 18:20:25.776889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.780398"], ["updated_at", "2015-05-25 18:20:25.780398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.782943"], ["updated_at", "2015-05-25 18:20:25.782943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.785326"], ["updated_at", "2015-05-25 18:20:25.785326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.789009"], ["updated_at", "2015-05-25 18:20:25.789009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.792701"], ["updated_at", "2015-05-25 18:20:25.792701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.795581"], ["updated_at", "2015-05-25 18:20:25.795581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.797803"], ["updated_at", "2015-05-25 18:20:25.797803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.800800"], ["updated_at", "2015-05-25 18:20:25.800800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.803689"], ["updated_at", "2015-05-25 18:20:25.803689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.806783"], ["updated_at", "2015-05-25 18:20:25.806783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:25.172483"], ["created_at", "2015-05-25 18:20:25.808561"], ["updated_at", "2015-05-25 18:20:25.808561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:25.810543"], ["updated_at", "2015-05-25 18:20:25.810543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.812572"], ["updated_at", "2015-05-25 18:20:25.812572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.814043"], ["updated_at", "2015-05-25 18:20:25.814043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.815684"], ["updated_at", "2015-05-25 18:20:25.815684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:25.817196"], ["updated_at", "2015-05-25 18:20:25.817196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.818885"], ["updated_at", "2015-05-25 18:20:25.818885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.820352"], ["updated_at", "2015-05-25 18:20:25.820352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.821839"], ["updated_at", "2015-05-25 18:20:25.821839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:25.823254"], ["updated_at", "2015-05-25 18:20:25.823254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.824883"], ["updated_at", "2015-05-25 18:20:25.824883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.826196"], ["updated_at", "2015-05-25 18:20:25.826196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.827426"], ["updated_at", "2015-05-25 18:20:25.827426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.829362"], ["updated_at", "2015-05-25 18:20:25.829362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:25.830240"], ["updated_at", "2015-05-25 18:20:25.830240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.831806"], ["updated_at", "2015-05-25 18:20:25.831806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.833082"], ["updated_at", "2015-05-25 18:20:25.833082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.835029"], ["updated_at", "2015-05-25 18:20:25.835029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:25.835954"], ["updated_at", "2015-05-25 18:20:25.835954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.837469"], ["updated_at", "2015-05-25 18:20:25.837469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.838933"], ["updated_at", "2015-05-25 18:20:25.838933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:25.840860"], ["updated_at", "2015-05-25 18:20:25.840860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.843058"], ["updated_at", "2015-05-25 18:20:25.843058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 15:20:25.841781"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.844645"], ["updated_at", "2015-05-25 18:20:25.844645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 15:20:25.841781"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.845906"], ["updated_at", "2015-05-25 18:20:25.845906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:25.847435"], ["updated_at", "2015-05-25 18:20:25.847435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.848983"], ["updated_at", "2015-05-25 18:20:25.848983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.850285"], ["updated_at", "2015-05-25 18:20:25.850285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.851566"], ["updated_at", "2015-05-25 18:20:25.851566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:25.852896"], ["updated_at", "2015-05-25 18:20:25.852896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.854707"], ["updated_at", "2015-05-25 18:20:25.854707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 21:20:25.853568"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.856265"], ["updated_at", "2015-05-25 18:20:25.856265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 21:20:25.853568"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.857507"], ["updated_at", "2015-05-25 18:20:25.857507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:25.858856"], ["updated_at", "2015-05-25 18:20:25.858856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:25.860451"], ["updated_at", "2015-05-25 18:20:25.860451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:25.861740"], ["updated_at", "2015-05-25 18:20:25.861740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:25.862993"], ["updated_at", "2015-05-25 18:20:25.862993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:36.993781"], ["updated_at", "2015-05-25 18:20:36.993781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.003507"], ["updated_at", "2015-05-25 18:20:37.003507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.019675"], ["updated_at", "2015-05-25 18:20:37.019675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.024905"], ["updated_at", "2015-05-25 18:20:37.024905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.027879"], ["updated_at", "2015-05-25 18:20:37.027879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.030031"], ["updated_at", "2015-05-25 18:20:37.030031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:36.803382"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.031563"], ["updated_at", "2015-05-25 18:20:37.031563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.035898"], ["updated_at", "2015-05-25 18:20:37.035898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.037792"], ["updated_at", "2015-05-25 18:20:37.037792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.039840"], ["updated_at", "2015-05-25 18:20:37.039840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.042437"], ["updated_at", "2015-05-25 18:20:37.042437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.044412"], ["updated_at", "2015-05-25 18:20:37.044412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:36.803382"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.045880"], ["updated_at", "2015-05-25 18:20:37.045880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.048099"], ["updated_at", "2015-05-25 18:20:37.048099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 18:20:37.046710"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.049664"], ["updated_at", "2015-05-25 18:20:37.049664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.051802"], ["updated_at", "2015-05-25 18:20:37.051802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.053538"], ["updated_at", "2015-05-25 18:20:37.053538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.055091"], ["updated_at", "2015-05-25 18:20:37.055091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.057228"], ["updated_at", "2015-05-25 18:20:37.057228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.058997"], ["updated_at", "2015-05-25 18:20:37.058997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:36.803382"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.060538"], ["updated_at", "2015-05-25 18:20:37.060538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.068998"], ["updated_at", "2015-05-25 18:20:37.068998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:36.803382"], ["created_at", "2015-05-25 18:20:37.071231"], ["updated_at", "2015-05-25 18:20:37.071231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:37.073221"], ["updated_at", "2015-05-25 18:20:37.073221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.075347"], ["updated_at", "2015-05-25 18:20:37.075347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 15:20:37.073951"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.076726"], ["updated_at", "2015-05-25 18:20:37.076726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 15:20:37.073951"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.083975"], ["updated_at", "2015-05-25 18:20:37.083975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.086459"], ["updated_at", "2015-05-25 18:20:37.086459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:37.087530"], ["updated_at", "2015-05-25 18:20:37.087530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.089474"], ["updated_at", "2015-05-25 18:20:37.089474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.090760"], ["updated_at", "2015-05-25 18:20:37.090760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:37.092662"], ["updated_at", "2015-05-25 18:20:37.092662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.094479"], ["updated_at", "2015-05-25 18:20:37.094479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.095917"], ["updated_at", "2015-05-25 18:20:37.095917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.097229"], ["updated_at", "2015-05-25 18:20:37.097229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.099358"], ["updated_at", "2015-05-25 18:20:37.099358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:37.101114"], ["updated_at", "2015-05-25 18:20:37.101114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.103353"], ["updated_at", "2015-05-25 18:20:37.103353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.104915"], ["updated_at", "2015-05-25 18:20:37.104915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:37.106894"], ["updated_at", "2015-05-25 18:20:37.106894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.108931"], ["updated_at", "2015-05-25 18:20:37.108931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.110470"], ["updated_at", "2015-05-25 18:20:37.110470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.111936"], ["updated_at", "2015-05-25 18:20:37.111936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:37.113498"], ["updated_at", "2015-05-25 18:20:37.113498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.115452"], ["updated_at", "2015-05-25 18:20:37.115452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.116936"], ["updated_at", "2015-05-25 18:20:37.116936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.118345"], ["updated_at", "2015-05-25 18:20:37.118345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:37.119932"], ["updated_at", "2015-05-25 18:20:37.119932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.121883"], ["updated_at", "2015-05-25 18:20:37.121883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 21:20:37.120607"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.123362"], ["updated_at", "2015-05-25 18:20:37.123362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 21:20:37.120607"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.124762"], ["updated_at", "2015-05-25 18:20:37.124762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:37.131098"], ["updated_at", "2015-05-25 18:20:37.131098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.134039"], ["updated_at", "2015-05-25 18:20:37.134039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.136040"], ["updated_at", "2015-05-25 18:20:37.136040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.137527"], ["updated_at", "2015-05-25 18:20:37.137527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 18:20:37.139416"], ["updated_at", "2015-05-25 18:20:37.139416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.141254"], ["updated_at", "2015-05-25 18:20:37.141254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.142679"], ["updated_at", "2015-05-25 18:20:37.142679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.144012"], ["updated_at", "2015-05-25 18:20:37.144012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.173366"], ["updated_at", "2015-05-25 18:20:37.173366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.175172"], ["updated_at", "2015-05-25 18:20:37.175172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.177107"], ["updated_at", "2015-05-25 18:20:37.177107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (4.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.182802"], ["updated_at", "2015-05-25 18:20:37.182802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.186462"], ["updated_at", "2015-05-25 18:20:37.186462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:37.187359"], ["updated_at", "2015-05-25 18:20:37.187773"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.194251"], ["updated_at", "2015-05-25 18:20:37.194251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.196617"], ["updated_at", "2015-05-25 18:20:37.196617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.198737"], ["updated_at", "2015-05-25 18:20:37.198737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.200304"], ["updated_at", "2015-05-25 18:20:37.200304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.203160"], ["updated_at", "2015-05-25 18:20:37.203160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:37.204107"], ["updated_at", "2015-05-25 18:20:37.204532"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.212580"], ["updated_at", "2015-05-25 18:20:37.212580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.217206"], ["updated_at", "2015-05-25 18:20:37.217206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.222772"], ["updated_at", "2015-05-25 18:20:37.222772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.227665"], ["updated_at", "2015-05-25 18:20:37.227665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.229483"], ["updated_at", "2015-05-25 18:20:37.229483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.231671"], ["updated_at", "2015-05-25 18:20:37.231671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 18:20:36.803382"], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.233352"], ["updated_at", "2015-05-25 18:20:37.233352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.235665"], ["updated_at", "2015-05-25 18:20:37.235665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.237317"], ["updated_at", "2015-05-25 18:20:37.237317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.239655"], ["updated_at", "2015-05-25 18:20:37.239655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.241102"], ["updated_at", "2015-05-25 18:20:37.241102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.243493"], ["updated_at", "2015-05-25 18:20:37.243493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.245448"], ["updated_at", "2015-05-25 18:20:37.245448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.247042"], ["updated_at", "2015-05-25 18:20:37.247042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.250511"], ["updated_at", "2015-05-25 18:20:37.250511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:20:37.253486"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.256977"], ["updated_at", "2015-05-25 18:20:37.256977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.260102"], ["updated_at", "2015-05-25 18:20:37.260102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.263196"], ["updated_at", "2015-05-25 18:20:37.263196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.267251"], ["updated_at", "2015-05-25 18:20:37.267251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:20:37.268814"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.271687"], ["updated_at", "2015-05-25 18:20:37.271687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.274553"], ["updated_at", "2015-05-25 18:20:37.274553"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.277117"], ["updated_at", "2015-05-25 18:20:37.277117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.4ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.281380"], ["updated_at", "2015-05-25 18:20:37.281380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:20:37.284324"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.288326"], ["updated_at", "2015-05-25 18:20:37.288326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.291780"], ["updated_at", "2015-05-25 18:20:37.291780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.294547"], ["updated_at", "2015-05-25 18:20:37.294547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.298679"], ["updated_at", "2015-05-25 18:20:37.298679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:20:37.300667"], ["id", 1]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.303002"], ["updated_at", "2015-05-25 18:20:37.303002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.305986"], ["updated_at", "2015-05-25 18:20:37.305986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.309336"], ["updated_at", "2015-05-25 18:20:37.309336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.5ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.315321"], ["updated_at", "2015-05-25 18:20:37.315321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 18:20:37.317958"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.320489"], ["updated_at", "2015-05-25 18:20:37.320489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.323828"], ["updated_at", "2015-05-25 18:20:37.323828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.325964"], ["updated_at", "2015-05-25 18:20:37.325964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.329781"], ["updated_at", "2015-05-25 18:20:37.329781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 18:20:37.331371"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.333306"], ["updated_at", "2015-05-25 18:20:37.333306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.335715"], ["updated_at", "2015-05-25 18:20:37.335715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.338358"], ["updated_at", "2015-05-25 18:20:37.338358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.341703"], ["updated_at", "2015-05-25 18:20:37.341703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 18:20:37.343485"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.354919"], ["updated_at", "2015-05-25 18:20:37.354919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:20:37.353506"], ["created_at", "2015-05-25 18:20:37.356526"], ["updated_at", "2015-05-25 18:20:37.356526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.364614"], ["updated_at", "2015-05-25 18:20:37.364614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.367062"], ["updated_at", "2015-05-25 18:20:37.367062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 18:20:37.368746"], ["updated_at", "2015-05-25 18:20:37.368746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.370163"], ["updated_at", "2015-05-25 18:20:37.370163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:37.370848"], ["current_period_start", "2015-05-25 18:20:37.370848"], ["current_period_end", "2015-06-25 18:20:37.370848"], ["created_at", "2015-05-25 18:20:37.371461"], ["updated_at", "2015-05-25 18:20:37.371461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.389405"], ["updated_at", "2015-05-25 18:20:37.389405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:20:37.396810"], ["updated_at", "2015-05-25 18:20:37.396810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 18:20:37.398136"], ["updated_at", "2015-05-25 18:20:37.398136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.399490"], ["updated_at", "2015-05-25 18:20:37.399490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.401801"], ["updated_at", "2015-05-25 18:20:37.401801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.403037"], ["updated_at", "2015-05-25 18:20:37.403037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.404922"], ["updated_at", "2015-05-25 18:20:37.404922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.409604"], ["updated_at", "2015-05-25 18:20:37.409604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.411243"], ["updated_at", "2015-05-25 18:20:37.411243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.413178"], ["updated_at", "2015-05-25 18:20:37.413178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.414699"], ["updated_at", "2015-05-25 18:20:37.414699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.417651"], ["updated_at", "2015-05-25 18:20:37.417651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:37.418518"], ["updated_at", "2015-05-25 18:20:37.418922"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:37.419680"], ["current_period_start", "2015-05-25 18:20:37.419680"], ["current_period_end", "2015-06-25 18:20:37.419680"], ["created_at", "2015-05-25 18:20:37.420230"], ["updated_at", "2015-05-25 18:20:37.420230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.422215"], ["updated_at", "2015-05-25 18:20:37.422215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.423652"], ["updated_at", "2015-05-25 18:20:37.423652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.425410"], ["updated_at", "2015-05-25 18:20:37.425410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.426733"], ["updated_at", "2015-05-25 18:20:37.426733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.429213"], ["updated_at", "2015-05-25 18:20:37.429213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:37.429986"], ["updated_at", "2015-05-25 18:20:37.430343"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:37.430950"], ["current_period_start", "2015-05-25 18:20:37.430950"], ["current_period_end", "2015-06-25 18:20:37.430950"], ["created_at", "2015-05-25 18:20:37.431513"], ["updated_at", "2015-05-25 18:20:37.431513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.433243"], ["updated_at", "2015-05-25 18:20:37.433243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.434744"], ["updated_at", "2015-05-25 18:20:37.434744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.437521"], ["updated_at", "2015-05-25 18:20:37.437521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 18:20:37.439046"], ["updated_at", "2015-05-25 18:20:37.439046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 18:20:37.441793"], ["updated_at", "2015-05-25 18:20:37.441793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:37.442965"], ["updated_at", "2015-05-25 18:20:37.443412"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:37.444105"], ["current_period_start", "2015-05-25 18:20:37.444105"], ["current_period_end", "2015-06-25 18:20:37.444105"], ["created_at", "2015-05-25 18:20:37.444684"], ["updated_at", "2015-05-25 18:20:37.444684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.446805"], ["updated_at", "2015-05-25 18:20:37.446805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.448339"], ["updated_at", "2015-05-25 18:20:37.448339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:37.449386"], ["current_period_start", "2015-05-25 18:20:37.449386"], ["current_period_end", "2015-06-25 18:20:37.449386"], ["created_at", "2015-05-25 18:20:37.449958"], ["updated_at", "2015-05-25 18:20:37.449958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 18:20:37.451891"], ["updated_at", "2015-05-25 18:20:37.451891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.453211"], ["updated_at", "2015-05-25 18:20:37.453211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 18:20:37.454420"], ["current_period_start", "2015-05-25 18:20:37.454420"], ["current_period_end", "2015-06-25 18:20:37.454420"], ["created_at", "2015-05-25 18:20:37.455053"], ["updated_at", "2015-05-25 18:20:37.455053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.457437"], ["updated_at", "2015-05-25 18:20:37.457437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.460010"], ["updated_at", "2015-05-25 18:20:37.460010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.462276"], ["updated_at", "2015-05-25 18:20:37.462276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.465133"], ["updated_at", "2015-05-25 18:20:37.465133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.469753"], ["updated_at", "2015-05-25 18:20:37.469753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.472738"], ["updated_at", "2015-05-25 18:20:37.472738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.475531"], ["updated_at", "2015-05-25 18:20:37.475531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.480252"], ["updated_at", "2015-05-25 18:20:37.480252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.482864"], ["updated_at", "2015-05-25 18:20:37.482864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.485501"], ["updated_at", "2015-05-25 18:20:37.485501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.487901"], ["updated_at", "2015-05-25 18:20:37.487901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.490180"], ["updated_at", "2015-05-25 18:20:37.490180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.492426"], ["updated_at", "2015-05-25 18:20:37.492426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.494747"], ["updated_at", "2015-05-25 18:20:37.494747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.498172"], ["updated_at", "2015-05-25 18:20:37.498172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.501311"], ["updated_at", "2015-05-25 18:20:37.501311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.503792"], ["updated_at", "2015-05-25 18:20:37.503792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 18:20:37.505699"], ["updated_at", "2015-05-25 18:20:37.505699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 18:20:37.506631"], ["updated_at", "2015-05-25 18:20:37.507012"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 18:20:37.509282"], ["updated_at", "2015-05-25 18:20:37.509282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 18:20:37.508214"], ["created_at", "2015-05-25 18:20:37.510564"], ["updated_at", "2015-05-25 18:20:37.510564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:37:57.096942"], ["updated_at", "2015-05-25 20:37:57.096942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 14ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:37:57.119857"], ["updated_at", "2015-05-25 20:37:57.119857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:37:57.128134"], ["updated_at", "2015-05-25 20:37:57.128134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:37:57.132016"], ["updated_at", "2015-05-25 20:37:57.132016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:38:45.126468"], ["updated_at", "2015-05-25 20:38:45.126468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 17ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:38:45.151810"], ["updated_at", "2015-05-25 20:38:45.151810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:38:45.161831"], ["updated_at", "2015-05-25 20:38:45.161831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:38:45.166642"], ["updated_at", "2015-05-25 20:38:45.166642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 17ms (ActiveRecord: 0.9ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:40:39.617005"], ["updated_at", "2015-05-25 20:40:39.617005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 14ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:40:39.639129"], ["updated_at", "2015-05-25 20:40:39.639129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:40:39.643103"], ["updated_at", "2015-05-25 20:40:39.643103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:40:39.646289"], ["updated_at", "2015-05-25 20:40:39.646289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:41:24.047360"], ["updated_at", "2015-05-25 20:41:24.047360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 17ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:41:24.076823"], ["updated_at", "2015-05-25 20:41:24.076823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:41:24.080626"], ["updated_at", "2015-05-25 20:41:24.080626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:41:24.083972"], ["updated_at", "2015-05-25 20:41:24.083972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:41:52.871658"], ["updated_at", "2015-05-25 20:41:52.871658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 16ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:41:52.896362"], ["updated_at", "2015-05-25 20:41:52.896362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:41:52.904407"], ["updated_at", "2015-05-25 20:41:52.904407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:41:52.908308"], ["updated_at", "2015-05-25 20:41:52.908308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:42:14.814849"], ["updated_at", "2015-05-25 20:42:14.814849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 14ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:42:14.836942"], ["updated_at", "2015-05-25 20:42:14.836942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:42:14.844512"], ["updated_at", "2015-05-25 20:42:14.844512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:42:14.848323"], ["updated_at", "2015-05-25 20:42:14.848323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:42:48.075918"], ["updated_at", "2015-05-25 20:42:48.075918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 17ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:42:48.100825"], ["updated_at", "2015-05-25 20:42:48.100825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:42:48.109671"], ["updated_at", "2015-05-25 20:42:48.109671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:42:48.114898"], ["updated_at", "2015-05-25 20:42:48.114898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:42:56.206342"], ["updated_at", "2015-05-25 20:42:56.206342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 16ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:42:56.235387"], ["updated_at", "2015-05-25 20:42:56.235387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:42:56.239441"], ["updated_at", "2015-05-25 20:42:56.239441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:42:56.242805"], ["updated_at", "2015-05-25 20:42:56.242805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 17ms (ActiveRecord: 0.9ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:45:22.481880"], ["updated_at", "2015-05-25 20:45:22.481880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 13ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:45:22.499007"], ["updated_at", "2015-05-25 20:45:22.499007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:45:22.512442"], ["updated_at", "2015-05-25 20:45:22.512442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:45:22.499810"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:45:22.518174"], ["updated_at", "2015-05-25 20:45:22.518174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:45:22.499810"], ["status", "generated"], ["created_at", "2015-05-25 20:45:22.530930"], ["updated_at", "2015-05-25 20:45:22.530930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:45:22.499810"], ["current_period_end", "2015-06-24 20:45:22.499810"], ["updated_at", "2015-05-25 20:45:22.532667"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:45:22.535601"], ["updated_at", "2015-05-25 20:45:22.535601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:45:22.544207"], ["updated_at", "2015-05-25 20:45:22.544207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:45:22.548907"], ["updated_at", "2015-05-25 20:45:22.548907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:45:46.917374"], ["updated_at", "2015-05-25 20:45:46.917374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 16ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:45:46.945565"], ["updated_at", "2015-05-25 20:45:46.945565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/list_of_organizations/total Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:45:46.949445"], ["updated_at", "2015-05-25 20:45:46.949445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:45:46.952292"], ["updated_at", "2015-05-25 20:45:46.952292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:45:46.955389"], ["updated_at", "2015-05-25 20:45:46.955389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:45:46.969558"], ["updated_at", "2015-05-25 20:45:46.969558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:45:46.956049"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:45:46.973735"], ["updated_at", "2015-05-25 20:45:46.973735"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:45:46.956049"], ["status", "generated"], ["created_at", "2015-05-25 20:45:46.985140"], ["updated_at", "2015-05-25 20:45:46.985140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:45:46.956049"], ["current_period_end", "2015-06-24 20:45:46.956049"], ["updated_at", "2015-05-25 20:45:46.986775"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 13ms (ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:47:30.228585"], ["updated_at", "2015-05-25 20:47:30.228585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 16ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:47:30.253215"], ["updated_at", "2015-05-25 20:47:30.253215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:47:30.261028"], ["updated_at", "2015-05-25 20:47:30.261028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:47:30.264920"], ["updated_at", "2015-05-25 20:47:30.264920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:47:30.270662"], ["updated_at", "2015-05-25 20:47:30.270662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:47:30.284305"], ["updated_at", "2015-05-25 20:47:30.284305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:47:30.271504"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:47:30.288583"], ["updated_at", "2015-05-25 20:47:30.288583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:47:30.271504"], ["status", "generated"], ["created_at", "2015-05-25 20:47:30.301853"], ["updated_at", "2015-05-25 20:47:30.301853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:47:30.271504"], ["current_period_end", "2015-06-24 20:47:30.271504"], ["updated_at", "2015-05-25 20:47:30.303761"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_afeter_success_path Completed 302 Found in 15ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:47:30.307337"], ["updated_at", "2015-05-25 20:47:30.307337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:47:30.310023"], ["updated_at", "2015-05-25 20:47:30.310023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:47:30.308009"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:47:30.311810"], ["updated_at", "2015-05-25 20:47:30.311810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:47:30.308009"], ["status", "generated"], ["created_at", "2015-05-25 20:47:30.316009"], ["updated_at", "2015-05-25 20:47:30.316009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:47:30.308009"], ["current_period_end", "2015-06-24 20:47:30.308009"], ["updated_at", "2015-05-25 20:47:30.317381"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 5ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:48:04.833175"], ["updated_at", "2015-05-25 20:48:04.833175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 16ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:48:04.862230"], ["updated_at", "2015-05-25 20:48:04.862230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:48:04.866504"], ["updated_at", "2015-05-25 20:48:04.866504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:48:04.869855"], ["updated_at", "2015-05-25 20:48:04.869855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:48:04.874753"], ["updated_at", "2015-05-25 20:48:04.874753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:48:04.888039"], ["updated_at", "2015-05-25 20:48:04.888039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:48:04.875606"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:48:04.892116"], ["updated_at", "2015-05-25 20:48:04.892116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:48:04.875606"], ["status", "generated"], ["created_at", "2015-05-25 20:48:04.904189"], ["updated_at", "2015-05-25 20:48:04.904189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:48:04.875606"], ["current_period_end", "2015-06-24 20:48:04.875606"], ["updated_at", "2015-05-25 20:48:04.906352"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_afeter_success_path Completed 302 Found in 15ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:48:04.910031"], ["updated_at", "2015-05-25 20:48:04.910031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:48:04.912204"], ["updated_at", "2015-05-25 20:48:04.912204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:48:04.910700"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:48:04.913572"], ["updated_at", "2015-05-25 20:48:04.913572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:48:04.910700"], ["status", "generated"], ["created_at", "2015-05-25 20:48:04.917281"], ["updated_at", "2015-05-25 20:48:04.917281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:48:04.910700"], ["current_period_end", "2015-06-24 20:48:04.910700"], ["updated_at", "2015-05-25 20:48:04.918510"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 17ms (ActiveRecord: 1.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:48:31.122121"], ["updated_at", "2015-05-25 20:48:31.122121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 13ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:48:31.139544"], ["updated_at", "2015-05-25 20:48:31.139544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:48:31.153898"], ["updated_at", "2015-05-25 20:48:31.153898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:48:31.140372"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:48:31.158646"], ["updated_at", "2015-05-25 20:48:31.158646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:48:31.140372"], ["status", "generated"], ["created_at", "2015-05-25 20:48:31.170851"], ["updated_at", "2015-05-25 20:48:31.170851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:48:31.140372"], ["current_period_end", "2015-06-24 20:48:31.140372"], ["updated_at", "2015-05-25 20:48:31.172543"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 14ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:48:31.179879"], ["updated_at", "2015-05-25 20:48:31.179879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:48:31.182753"], ["updated_at", "2015-05-25 20:48:31.182753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:48:31.180603"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:48:31.184742"], ["updated_at", "2015-05-25 20:48:31.184742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:48:31.180603"], ["status", "generated"], ["created_at", "2015-05-25 20:48:31.188591"], ["updated_at", "2015-05-25 20:48:31.188591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:48:31.180603"], ["current_period_end", "2015-06-24 20:48:31.180603"], ["updated_at", "2015-05-25 20:48:31.189855"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_after_success_path Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:48:31.192785"], ["updated_at", "2015-05-25 20:48:31.192785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:48:31.196909"], ["updated_at", "2015-05-25 20:48:31.196909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:48:31.200539"], ["updated_at", "2015-05-25 20:48:31.200539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 17ms (ActiveRecord: 0.8ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:51:30.882135"], ["updated_at", "2015-05-25 20:51:30.882135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 14ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:51:30.900067"], ["updated_at", "2015-05-25 20:51:30.900067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:51:30.914458"], ["updated_at", "2015-05-25 20:51:30.914458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:51:30.900886"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:51:30.919511"], ["updated_at", "2015-05-25 20:51:30.919511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:51:30.900886"], ["status", "generated"], ["created_at", "2015-05-25 20:51:30.932558"], ["updated_at", "2015-05-25 20:51:30.932558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:51:30.900886"], ["current_period_end", "2015-06-24 20:51:30.900886"], ["updated_at", "2015-05-25 20:51:30.934312"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 15ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:51:30.937366"], ["updated_at", "2015-05-25 20:51:30.937366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:51:30.939665"], ["updated_at", "2015-05-25 20:51:30.939665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:51:30.938085"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:51:30.941206"], ["updated_at", "2015-05-25 20:51:30.941206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:51:30.938085"], ["status", "generated"], ["created_at", "2015-05-25 20:51:30.945662"], ["updated_at", "2015-05-25 20:51:30.945662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:51:30.938085"], ["current_period_end", "2015-06-24 20:51:30.938085"], ["updated_at", "2015-05-25 20:51:30.946974"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:51:30.953951"], ["updated_at", "2015-05-25 20:51:30.953951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:51:30.956201"], ["updated_at", "2015-05-25 20:51:30.956201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:51:30.954727"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:51:30.957896"], ["updated_at", "2015-05-25 20:51:30.957896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:51:30.954727"], ["status", "generated"], ["created_at", "2015-05-25 20:51:30.961546"], ["updated_at", "2015-05-25 20:51:30.961546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:51:30.954727"], ["current_period_end", "2015-06-24 20:51:30.954727"], ["updated_at", "2015-05-25 20:51:30.962884"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_after_success_path Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:51:30.965699"], ["updated_at", "2015-05-25 20:51:30.965699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:51:30.969002"], ["updated_at", "2015-05-25 20:51:30.969002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:51:30.973131"], ["updated_at", "2015-05-25 20:51:30.973131"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:00.447189"], ["updated_at", "2015-05-25 20:52:00.447189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 15ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:00.474535"], ["updated_at", "2015-05-25 20:52:00.474535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:00.478421"], ["updated_at", "2015-05-25 20:52:00.478421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:00.481200"], ["updated_at", "2015-05-25 20:52:00.481200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:00.485165"], ["updated_at", "2015-05-25 20:52:00.485165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:00.499215"], ["updated_at", "2015-05-25 20:52:00.499215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:52:00.485809"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:00.503333"], ["updated_at", "2015-05-25 20:52:00.503333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:52:00.485809"], ["status", "generated"], ["created_at", "2015-05-25 20:52:00.514609"], ["updated_at", "2015-05-25 20:52:00.514609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:52:00.485809"], ["current_period_end", "2015-06-24 20:52:00.485809"], ["updated_at", "2015-05-25 20:52:00.516207"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_after_success_path Completed 302 Found in 14ms (ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:00.520027"], ["updated_at", "2015-05-25 20:52:00.520027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:00.522373"], ["updated_at", "2015-05-25 20:52:00.522373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:52:00.520789"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:00.523782"], ["updated_at", "2015-05-25 20:52:00.523782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:52:00.520789"], ["status", "generated"], ["created_at", "2015-05-25 20:52:00.527416"], ["updated_at", "2015-05-25 20:52:00.527416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:52:00.520789"], ["current_period_end", "2015-06-24 20:52:00.520789"], ["updated_at", "2015-05-25 20:52:00.528572"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:00.530764"], ["updated_at", "2015-05-25 20:52:00.530764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:00.532733"], ["updated_at", "2015-05-25 20:52:00.532733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:52:00.531436"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:00.534138"], ["updated_at", "2015-05-25 20:52:00.534138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:52:00.531436"], ["status", "generated"], ["created_at", "2015-05-25 20:52:00.537417"], ["updated_at", "2015-05-25 20:52:00.537417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:52:00.531436"], ["current_period_end", "2015-06-24 20:52:00.531436"], ["updated_at", "2015-05-25 20:52:00.538637"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 16ms (ActiveRecord: 0.8ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:10.753178"], ["updated_at", "2015-05-25 20:52:10.753178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 12ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:10.770021"], ["updated_at", "2015-05-25 20:52:10.770021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:10.783338"], ["updated_at", "2015-05-25 20:52:10.783338"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:52:10.770863"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:10.788181"], ["updated_at", "2015-05-25 20:52:10.788181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:52:10.770863"], ["status", "generated"], ["created_at", "2015-05-25 20:52:10.800088"], ["updated_at", "2015-05-25 20:52:10.800088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:52:10.770863"], ["current_period_end", "2015-06-24 20:52:10.770863"], ["updated_at", "2015-05-25 20:52:10.801641"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 13ms (ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:10.808768"], ["updated_at", "2015-05-25 20:52:10.808768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:10.811061"], ["updated_at", "2015-05-25 20:52:10.811061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:52:10.809569"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:10.812647"], ["updated_at", "2015-05-25 20:52:10.812647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:52:10.809569"], ["status", "generated"], ["created_at", "2015-05-25 20:52:10.816284"], ["updated_at", "2015-05-25 20:52:10.816284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:52:10.809569"], ["current_period_end", "2015-06-24 20:52:10.809569"], ["updated_at", "2015-05-25 20:52:10.818102"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_after_success_path Completed 302 Found in 6ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:10.821352"], ["updated_at", "2015-05-25 20:52:10.821352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:10.823799"], ["updated_at", "2015-05-25 20:52:10.823799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:52:10.822073"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:10.825595"], ["updated_at", "2015-05-25 20:52:10.825595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:52:10.822073"], ["status", "generated"], ["created_at", "2015-05-25 20:52:10.829173"], ["updated_at", "2015-05-25 20:52:10.829173"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:52:10.822073"], ["current_period_end", "2015-06-24 20:52:10.822073"], ["updated_at", "2015-05-25 20:52:10.830483"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:10.832862"], ["updated_at", "2015-05-25 20:52:10.832862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:10.837154"], ["updated_at", "2015-05-25 20:52:10.837154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:10.840859"], ["updated_at", "2015-05-25 20:52:10.840859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.450086"], ["updated_at", "2015-05-25 20:52:16.450086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.457252"], ["updated_at", "2015-05-25 20:52:16.457252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.460557"], ["updated_at", "2015-05-25 20:52:16.460557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.463751"], ["updated_at", "2015-05-25 20:52:16.463751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.467454"], ["updated_at", "2015-05-25 20:52:16.467454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.470302"], ["updated_at", "2015-05-25 20:52:16.470302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.473143"], ["updated_at", "2015-05-25 20:52:16.473143"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.478642"], ["updated_at", "2015-05-25 20:52:16.478642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.483178"], ["updated_at", "2015-05-25 20:52:16.483178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.486240"], ["updated_at", "2015-05-25 20:52:16.486240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.490994"], ["updated_at", "2015-05-25 20:52:16.490994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.493824"], ["updated_at", "2015-05-25 20:52:16.493824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.496626"], ["updated_at", "2015-05-25 20:52:16.496626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.499761"], ["updated_at", "2015-05-25 20:52:16.499761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.502576"], ["updated_at", "2015-05-25 20:52:16.502576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.504958"], ["updated_at", "2015-05-25 20:52:16.504958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.507568"], ["updated_at", "2015-05-25 20:52:16.507568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 20:52:16.254847"], ["created_at", "2015-05-25 20:52:16.508896"], ["updated_at", "2015-05-25 20:52:16.508896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:52:16.525222"], ["updated_at", "2015-05-25 20:52:16.525222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.527297"], ["updated_at", "2015-05-25 20:52:16.527297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.529207"], ["updated_at", "2015-05-25 20:52:16.529207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.535647"], ["updated_at", "2015-05-25 20:52:16.535647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:52:16.537712"], ["updated_at", "2015-05-25 20:52:16.537712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.539636"], ["updated_at", "2015-05-25 20:52:16.539636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 23:52:16.538384"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.540946"], ["updated_at", "2015-05-25 20:52:16.540946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 23:52:16.538384"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.542349"], ["updated_at", "2015-05-25 20:52:16.542349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:52:16.543744"], ["updated_at", "2015-05-25 20:52:16.543744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.545286"], ["updated_at", "2015-05-25 20:52:16.545286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.546649"], ["updated_at", "2015-05-25 20:52:16.546649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.548302"], ["updated_at", "2015-05-25 20:52:16.548302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:52:16.550649"], ["updated_at", "2015-05-25 20:52:16.550649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.552511"], ["updated_at", "2015-05-25 20:52:16.552511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.553915"], ["updated_at", "2015-05-25 20:52:16.553915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.555192"], ["updated_at", "2015-05-25 20:52:16.555192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:52:16.556640"], ["updated_at", "2015-05-25 20:52:16.556640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.558744"], ["updated_at", "2015-05-25 20:52:16.558744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 17:52:16.557341"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.560305"], ["updated_at", "2015-05-25 20:52:16.560305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 17:52:16.557341"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.561674"], ["updated_at", "2015-05-25 20:52:16.561674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.563699"], ["updated_at", "2015-05-25 20:52:16.563699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:52:16.564587"], ["updated_at", "2015-05-25 20:52:16.564587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.566550"], ["updated_at", "2015-05-25 20:52:16.566550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.567911"], ["updated_at", "2015-05-25 20:52:16.567911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:52:16.569341"], ["updated_at", "2015-05-25 20:52:16.569341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.570967"], ["updated_at", "2015-05-25 20:52:16.570967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.572301"], ["updated_at", "2015-05-25 20:52:16.572301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.573614"], ["updated_at", "2015-05-25 20:52:16.573614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:52:16.575035"], ["updated_at", "2015-05-25 20:52:16.575035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.577456"], ["updated_at", "2015-05-25 20:52:16.577456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.579884"], ["updated_at", "2015-05-25 20:52:16.579884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.581670"], ["updated_at", "2015-05-25 20:52:16.581670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.583927"], ["updated_at", "2015-05-25 20:52:16.583927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:52:16.584815"], ["updated_at", "2015-05-25 20:52:16.584815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.586464"], ["updated_at", "2015-05-25 20:52:16.586464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.587703"], ["updated_at", "2015-05-25 20:52:16.587703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.589880"], ["updated_at", "2015-05-25 20:52:16.589880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.591281"], ["updated_at", "2015-05-25 20:52:16.591281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.592694"], ["updated_at", "2015-05-25 20:52:16.592694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 20:52:16.597858"], ["updated_at", "2015-05-25 20:52:16.597858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 20:52:16.599186"], ["updated_at", "2015-05-25 20:52:16.599186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.600429"], ["updated_at", "2015-05-25 20:52:16.600429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.607758"], ["updated_at", "2015-05-25 20:52:16.607758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.647178"], ["updated_at", "2015-05-25 20:52:16.647178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.648784"], ["updated_at", "2015-05-25 20:52:16.648784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.650473"], ["updated_at", "2015-05-25 20:52:16.650473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.651758"], ["updated_at", "2015-05-25 20:52:16.651758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.659166"], ["updated_at", "2015-05-25 20:52:16.659166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 20:52:16.660022"], ["updated_at", "2015-05-25 20:52:16.660382"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.662955"], ["updated_at", "2015-05-25 20:52:16.662955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.664689"], ["updated_at", "2015-05-25 20:52:16.664689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.666359"], ["updated_at", "2015-05-25 20:52:16.666359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.667598"], ["updated_at", "2015-05-25 20:52:16.667598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.670877"], ["updated_at", "2015-05-25 20:52:16.670877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 20:52:16.672043"], ["updated_at", "2015-05-25 20:52:16.672453"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.676357"], ["updated_at", "2015-05-25 20:52:16.676357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.678744"], ["updated_at", "2015-05-25 20:52:16.678744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.686752"], ["updated_at", "2015-05-25 20:52:16.686752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 20:52:16.685756"], ["created_at", "2015-05-25 20:52:16.687989"], ["updated_at", "2015-05-25 20:52:16.687989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.689400"], ["updated_at", "2015-05-25 20:52:16.689400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.690739"], ["updated_at", "2015-05-25 20:52:16.690739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.692322"], ["updated_at", "2015-05-25 20:52:16.692322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 20:52:16.254847"], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.693697"], ["updated_at", "2015-05-25 20:52:16.693697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.695645"], ["updated_at", "2015-05-25 20:52:16.695645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.696932"], ["updated_at", "2015-05-25 20:52:16.696932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.698562"], ["updated_at", "2015-05-25 20:52:16.698562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.700034"], ["updated_at", "2015-05-25 20:52:16.700034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.702951"], ["updated_at", "2015-05-25 20:52:16.702951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.705017"], ["updated_at", "2015-05-25 20:52:16.705017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.706515"], ["updated_at", "2015-05-25 20:52:16.706515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.709149"], ["updated_at", "2015-05-25 20:52:16.709149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 20:52:16.710423"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.711871"], ["updated_at", "2015-05-25 20:52:16.711871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.713544"], ["updated_at", "2015-05-25 20:52:16.713544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.715216"], ["updated_at", "2015-05-25 20:52:16.715216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.717580"], ["updated_at", "2015-05-25 20:52:16.717580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 20:52:16.718679"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.720088"], ["updated_at", "2015-05-25 20:52:16.720088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.721535"], ["updated_at", "2015-05-25 20:52:16.721535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.723189"], ["updated_at", "2015-05-25 20:52:16.723189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.725491"], ["updated_at", "2015-05-25 20:52:16.725491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 20:52:16.726617"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.728420"], ["updated_at", "2015-05-25 20:52:16.728420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.730041"], ["updated_at", "2015-05-25 20:52:16.730041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.732238"], ["updated_at", "2015-05-25 20:52:16.732238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.735098"], ["updated_at", "2015-05-25 20:52:16.735098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 20:52:16.736224"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.738129"], ["updated_at", "2015-05-25 20:52:16.738129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.739630"], ["updated_at", "2015-05-25 20:52:16.739630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.741728"], ["updated_at", "2015-05-25 20:52:16.741728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.744134"], ["updated_at", "2015-05-25 20:52:16.744134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 20:52:16.745213"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.746674"], ["updated_at", "2015-05-25 20:52:16.746674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.748358"], ["updated_at", "2015-05-25 20:52:16.748358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.749622"], ["updated_at", "2015-05-25 20:52:16.749622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.752112"], ["updated_at", "2015-05-25 20:52:16.752112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 20:52:16.753214"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.754647"], ["updated_at", "2015-05-25 20:52:16.754647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.756372"], ["updated_at", "2015-05-25 20:52:16.756372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.757597"], ["updated_at", "2015-05-25 20:52:16.757597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.759976"], ["updated_at", "2015-05-25 20:52:16.759976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 20:52:16.761881"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.764802"], ["updated_at", "2015-05-25 20:52:16.764802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 20:52:16.766318"], ["updated_at", "2015-05-25 20:52:16.766318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 20:52:16.767087"], ["updated_at", "2015-05-25 20:52:16.767413"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.770380"], ["updated_at", "2015-05-25 20:52:16.770380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 20:52:16.768920"], ["created_at", "2015-05-25 20:52:16.771803"], ["updated_at", "2015-05-25 20:52:16.771803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.773398"], ["updated_at", "2015-05-25 20:52:16.773398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.774998"], ["updated_at", "2015-05-25 20:52:16.774998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.776702"], ["updated_at", "2015-05-25 20:52:16.776702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.777952"], ["updated_at", "2015-05-25 20:52:16.777952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.780489"], ["updated_at", "2015-05-25 20:52:16.780489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 20:52:16.781294"], ["updated_at", "2015-05-25 20:52:16.781649"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 20:52:16.782295"], ["current_period_start", "2015-05-25 20:52:16.782295"], ["current_period_end", "2015-06-25 20:52:16.782295"], ["created_at", "2015-05-25 20:52:16.782812"], ["updated_at", "2015-05-25 20:52:16.782812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.784718"], ["updated_at", "2015-05-25 20:52:16.784718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.786070"], ["updated_at", "2015-05-25 20:52:16.786070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.787596"], ["updated_at", "2015-05-25 20:52:16.787596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.788942"], ["updated_at", "2015-05-25 20:52:16.788942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.791551"], ["updated_at", "2015-05-25 20:52:16.791551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 20:52:16.793002"], ["updated_at", "2015-05-25 20:52:16.793389"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 20:52:16.794175"], ["current_period_start", "2015-05-25 20:52:16.794175"], ["current_period_end", "2015-06-25 20:52:16.794175"], ["created_at", "2015-05-25 20:52:16.794914"], ["updated_at", "2015-05-25 20:52:16.794914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.796766"], ["updated_at", "2015-05-25 20:52:16.796766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.798395"], ["updated_at", "2015-05-25 20:52:16.798395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.800087"], ["updated_at", "2015-05-25 20:52:16.800087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.801358"], ["updated_at", "2015-05-25 20:52:16.801358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.803874"], ["updated_at", "2015-05-25 20:52:16.803874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 20:52:16.804631"], ["updated_at", "2015-05-25 20:52:16.804983"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 20:52:16.805588"], ["current_period_start", "2015-05-25 20:52:16.805588"], ["current_period_end", "2015-06-25 20:52:16.805588"], ["created_at", "2015-05-25 20:52:16.806196"], ["updated_at", "2015-05-25 20:52:16.806196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.808075"], ["updated_at", "2015-05-25 20:52:16.808075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.809581"], ["updated_at", "2015-05-25 20:52:16.809581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 20:52:16.810728"], ["current_period_start", "2015-05-25 20:52:16.810728"], ["current_period_end", "2015-06-25 20:52:16.810728"], ["created_at", "2015-05-25 20:52:16.811302"], ["updated_at", "2015-05-25 20:52:16.811302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.813081"], ["updated_at", "2015-05-25 20:52:16.813081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.814444"], ["updated_at", "2015-05-25 20:52:16.814444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 20:52:16.815486"], ["current_period_start", "2015-05-25 20:52:16.815486"], ["current_period_end", "2015-06-25 20:52:16.815486"], ["created_at", "2015-05-25 20:52:16.816008"], ["updated_at", "2015-05-25 20:52:16.816008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.821312"], ["updated_at", "2015-05-25 20:52:16.821312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.827615"], ["updated_at", "2015-05-25 20:52:16.827615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.829746"], ["updated_at", "2015-05-25 20:52:16.829746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:52:16.828367"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.831153"], ["updated_at", "2015-05-25 20:52:16.831153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:52:16.828367"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.834519"], ["updated_at", "2015-05-25 20:52:16.834519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:52:16.828367"], ["current_period_end", "2015-06-24 20:52:16.828367"], ["updated_at", "2015-05-25 20:52:16.835623"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_after_success_path Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.838182"], ["updated_at", "2015-05-25 20:52:16.838182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.839959"], ["updated_at", "2015-05-25 20:52:16.839959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:52:16.838778"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.841239"], ["updated_at", "2015-05-25 20:52:16.841239"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:52:16.838778"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.844668"], ["updated_at", "2015-05-25 20:52:16.844668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:52:16.838778"], ["current_period_end", "2015-06-24 20:52:16.838778"], ["updated_at", "2015-05-25 20:52:16.845833"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.847841"], ["updated_at", "2015-05-25 20:52:16.847841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.849596"], ["updated_at", "2015-05-25 20:52:16.849596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:52:16.848427"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.850948"], ["updated_at", "2015-05-25 20:52:16.850948"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:52:16.848427"], ["status", "generated"], ["created_at", "2015-05-25 20:52:16.854990"], ["updated_at", "2015-05-25 20:52:16.854990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:52:16.848427"], ["current_period_end", "2015-06-24 20:52:16.848427"], ["updated_at", "2015-05-25 20:52:16.856771"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 6ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.860284"], ["updated_at", "2015-05-25 20:52:16.860284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.864068"], ["updated_at", "2015-05-25 20:52:16.864068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.867215"], ["updated_at", "2015-05-25 20:52:16.867215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 20:52:16.870298"], ["updated_at", "2015-05-25 20:52:16.870298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.872046"], ["updated_at", "2015-05-25 20:52:16.872046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 20:52:16.872792"], ["current_period_start", "2015-05-25 20:52:16.872792"], ["current_period_end", "2015-06-25 20:52:16.872792"], ["created_at", "2015-05-25 20:52:16.873453"], ["updated_at", "2015-05-25 20:52:16.873453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.875308"], ["updated_at", "2015-05-25 20:52:16.875308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.876886"], ["updated_at", "2015-05-25 20:52:16.876886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.878223"], ["updated_at", "2015-05-25 20:52:16.878223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.879976"], ["updated_at", "2015-05-25 20:52:16.879976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.881479"], ["updated_at", "2015-05-25 20:52:16.881479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 20:52:16.254847"], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.883153"], ["updated_at", "2015-05-25 20:52:16.883153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.888390"], ["updated_at", "2015-05-25 20:52:16.888390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.890273"], ["updated_at", "2015-05-25 20:52:16.890273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 20:52:16.254847"], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.891807"], ["updated_at", "2015-05-25 20:52:16.891807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.893670"], ["updated_at", "2015-05-25 20:52:16.893670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.895379"], ["updated_at", "2015-05-25 20:52:16.895379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.896681"], ["updated_at", "2015-05-25 20:52:16.896681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.898437"], ["updated_at", "2015-05-25 20:52:16.898437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.899998"], ["updated_at", "2015-05-25 20:52:16.899998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-93') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-93"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.901496"], ["updated_at", "2015-05-25 20:52:16.901496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.902847"], ["updated_at", "2015-05-25 20:52:16.902847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:52:16.904621"], ["updated_at", "2015-05-25 20:52:16.904621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-94') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-94"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.906225"], ["updated_at", "2015-05-25 20:52:16.906225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 20:52:16.254847"], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.907640"], ["updated_at", "2015-05-25 20:52:16.907640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-95') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-95"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:52:16.909438"], ["updated_at", "2015-05-25 20:52:16.909438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 20:52:16.908369"], ["owner_id", 1], ["created_at", "2015-05-25 20:52:16.916676"], ["updated_at", "2015-05-25 20:52:16.916676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.822064"], ["updated_at", "2015-05-25 20:59:57.822064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 20:59:57.620128"], ["created_at", "2015-05-25 20:59:57.827284"], ["updated_at", "2015-05-25 20:59:57.827284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:59:57.838321"], ["updated_at", "2015-05-25 20:59:57.838321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.840975"], ["updated_at", "2015-05-25 20:59:57.840975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:57.843147"], ["updated_at", "2015-05-25 20:59:57.843147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:57.850154"], ["updated_at", "2015-05-25 20:59:57.850154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:59:57.852388"], ["updated_at", "2015-05-25 20:59:57.852388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.854558"], ["updated_at", "2015-05-25 20:59:57.854558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:57.856011"], ["updated_at", "2015-05-25 20:59:57.856011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:57.857495"], ["updated_at", "2015-05-25 20:59:57.857495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:59:57.859492"], ["updated_at", "2015-05-25 20:59:57.859492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.861969"], ["updated_at", "2015-05-25 20:59:57.861969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:57.863588"], ["updated_at", "2015-05-25 20:59:57.863588"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:57.865156"], ["updated_at", "2015-05-25 20:59:57.865156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.867597"], ["updated_at", "2015-05-25 20:59:57.867597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:59:57.868629"], ["updated_at", "2015-05-25 20:59:57.868629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:57.870824"], ["updated_at", "2015-05-25 20:59:57.870824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:57.872481"], ["updated_at", "2015-05-25 20:59:57.872481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:59:57.874244"], ["updated_at", "2015-05-25 20:59:57.874244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.881932"], ["updated_at", "2015-05-25 20:59:57.881932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 23:59:57.874911"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:57.883462"], ["updated_at", "2015-05-25 20:59:57.883462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 23:59:57.874911"], ["status", "generated"], ["created_at", "2015-05-25 20:59:57.884894"], ["updated_at", "2015-05-25 20:59:57.884894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:59:57.886485"], ["updated_at", "2015-05-25 20:59:57.886485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.888848"], ["updated_at", "2015-05-25 20:59:57.888848"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:57.890763"], ["updated_at", "2015-05-25 20:59:57.890763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:57.892274"], ["updated_at", "2015-05-25 20:59:57.892274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:59:57.894033"], ["updated_at", "2015-05-25 20:59:57.894033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.896015"], ["updated_at", "2015-05-25 20:59:57.896015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 17:59:57.894705"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:57.897419"], ["updated_at", "2015-05-25 20:59:57.897419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 17:59:57.894705"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:57.898804"], ["updated_at", "2015-05-25 20:59:57.898804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.900948"], ["updated_at", "2015-05-25 20:59:57.900948"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:59:57.901941"], ["updated_at", "2015-05-25 20:59:57.901941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:57.903677"], ["updated_at", "2015-05-25 20:59:57.903677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:57.905053"], ["updated_at", "2015-05-25 20:59:57.905053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 20:59:57.906628"], ["updated_at", "2015-05-25 20:59:57.906628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.908443"], ["updated_at", "2015-05-25 20:59:57.908443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:57.909892"], ["updated_at", "2015-05-25 20:59:57.909892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:57.911240"], ["updated_at", "2015-05-25 20:59:57.911240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.918935"], ["updated_at", "2015-05-25 20:59:57.918935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.922491"], ["updated_at", "2015-05-25 20:59:57.922491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.925251"], ["updated_at", "2015-05-25 20:59:57.925251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.928063"], ["updated_at", "2015-05-25 20:59:57.928063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.930744"], ["updated_at", "2015-05-25 20:59:57.930744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.933615"], ["updated_at", "2015-05-25 20:59:57.933615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.936466"], ["updated_at", "2015-05-25 20:59:57.936466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.939255"], ["updated_at", "2015-05-25 20:59:57.939255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.941467"], ["updated_at", "2015-05-25 20:59:57.941467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.943739"], ["updated_at", "2015-05-25 20:59:57.943739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.945931"], ["updated_at", "2015-05-25 20:59:57.945931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.948618"], ["updated_at", "2015-05-25 20:59:57.948618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.951731"], ["updated_at", "2015-05-25 20:59:57.951731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.954643"], ["updated_at", "2015-05-25 20:59:57.954643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.957131"], ["updated_at", "2015-05-25 20:59:57.957131"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.959541"], ["updated_at", "2015-05-25 20:59:57.959541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:57.967185"], ["updated_at", "2015-05-25 20:59:57.967185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 6ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:57.976277"], ["updated_at", "2015-05-25 20:59:57.976277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.978968"], ["updated_at", "2015-05-25 20:59:57.978968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:59:57.977057"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:57.980764"], ["updated_at", "2015-05-25 20:59:57.980764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:59:57.977057"], ["status", "generated"], ["created_at", "2015-05-25 20:59:57.984984"], ["updated_at", "2015-05-25 20:59:57.984984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:59:57.977057"], ["current_period_end", "2015-06-24 20:59:57.977057"], ["updated_at", "2015-05-25 20:59:57.986173"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 5ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:57.988978"], ["updated_at", "2015-05-25 20:59:57.988978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:57.990880"], ["updated_at", "2015-05-25 20:59:57.990880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:59:57.989608"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:57.992183"], ["updated_at", "2015-05-25 20:59:57.992183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:59:57.989608"], ["status", "generated"], ["created_at", "2015-05-25 20:59:57.995459"], ["updated_at", "2015-05-25 20:59:57.995459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:59:57.989608"], ["current_period_end", "2015-06-24 20:59:57.989608"], ["updated_at", "2015-05-25 20:59:57.996567"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:57.999314"], ["updated_at", "2015-05-25 20:59:57.999314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.001076"], ["updated_at", "2015-05-25 20:59:58.001076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 20:59:57.999905"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.002392"], ["updated_at", "2015-05-25 20:59:58.002392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 20:59:57.999905"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.005552"], ["updated_at", "2015-05-25 20:59:58.005552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 20:59:57.999905"], ["current_period_end", "2015-06-24 20:59:57.999905"], ["updated_at", "2015-05-25 20:59:58.006659"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_after_success_path Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.009836"], ["updated_at", "2015-05-25 20:59:58.009836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.013539"], ["updated_at", "2015-05-25 20:59:58.013539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.017213"], ["updated_at", "2015-05-25 20:59:58.017213"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.020447"], ["updated_at", "2015-05-25 20:59:58.020447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.021996"], ["updated_at", "2015-05-25 20:59:58.021996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.023688"], ["updated_at", "2015-05-25 20:59:58.023688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.025036"], ["updated_at", "2015-05-25 20:59:58.025036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.027629"], ["updated_at", "2015-05-25 20:59:58.027629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 20:59:58.028427"], ["updated_at", "2015-05-25 20:59:58.028786"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 20:59:58.029421"], ["current_period_start", "2015-05-25 20:59:58.029421"], ["current_period_end", "2015-06-25 20:59:58.029421"], ["created_at", "2015-05-25 20:59:58.029960"], ["updated_at", "2015-05-25 20:59:58.029960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.032667"], ["updated_at", "2015-05-25 20:59:58.032667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.034163"], ["updated_at", "2015-05-25 20:59:58.034163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.035781"], ["updated_at", "2015-05-25 20:59:58.035781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.037074"], ["updated_at", "2015-05-25 20:59:58.037074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.040197"], ["updated_at", "2015-05-25 20:59:58.040197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 20:59:58.041065"], ["updated_at", "2015-05-25 20:59:58.041498"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 20:59:58.042226"], ["current_period_start", "2015-05-25 20:59:58.042226"], ["current_period_end", "2015-06-25 20:59:58.042226"], ["created_at", "2015-05-25 20:59:58.042805"], ["updated_at", "2015-05-25 20:59:58.042805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.044858"], ["updated_at", "2015-05-25 20:59:58.044858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.046423"], ["updated_at", "2015-05-25 20:59:58.046423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.048193"], ["updated_at", "2015-05-25 20:59:58.048193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.049425"], ["updated_at", "2015-05-25 20:59:58.049425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.051868"], ["updated_at", "2015-05-25 20:59:58.051868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 20:59:58.052647"], ["updated_at", "2015-05-25 20:59:58.052987"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 20:59:58.053612"], ["current_period_start", "2015-05-25 20:59:58.053612"], ["current_period_end", "2015-06-25 20:59:58.053612"], ["created_at", "2015-05-25 20:59:58.054200"], ["updated_at", "2015-05-25 20:59:58.054200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.056504"], ["updated_at", "2015-05-25 20:59:58.056504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.057857"], ["updated_at", "2015-05-25 20:59:58.057857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 20:59:58.058966"], ["current_period_start", "2015-05-25 20:59:58.058966"], ["current_period_end", "2015-06-25 20:59:58.058966"], ["created_at", "2015-05-25 20:59:58.059517"], ["updated_at", "2015-05-25 20:59:58.059517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.061317"], ["updated_at", "2015-05-25 20:59:58.061317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.062677"], ["updated_at", "2015-05-25 20:59:58.062677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 20:59:58.063687"], ["current_period_start", "2015-05-25 20:59:58.063687"], ["current_period_end", "2015-06-25 20:59:58.063687"], ["created_at", "2015-05-25 20:59:58.064235"], ["updated_at", "2015-05-25 20:59:58.064235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 20:59:58.065725"], ["updated_at", "2015-05-25 20:59:58.065725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.067171"], ["updated_at", "2015-05-25 20:59:58.067171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 20:59:58.067832"], ["current_period_start", "2015-05-25 20:59:58.067832"], ["current_period_end", "2015-06-25 20:59:58.067832"], ["created_at", "2015-05-25 20:59:58.068344"], ["updated_at", "2015-05-25 20:59:58.068344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.070940"], ["updated_at", "2015-05-25 20:59:58.070940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.072926"], ["updated_at", "2015-05-25 20:59:58.072926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.075088"], ["updated_at", "2015-05-25 20:59:58.075088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 20:59:57.620128"], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.076556"], ["updated_at", "2015-05-25 20:59:58.076556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.078829"], ["updated_at", "2015-05-25 20:59:58.078829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.080432"], ["updated_at", "2015-05-25 20:59:58.080432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.082304"], ["updated_at", "2015-05-25 20:59:58.082304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.083746"], ["updated_at", "2015-05-25 20:59:58.083746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.085864"], ["updated_at", "2015-05-25 20:59:58.085864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.087399"], ["updated_at", "2015-05-25 20:59:58.087399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.089136"], ["updated_at", "2015-05-25 20:59:58.089136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.091685"], ["updated_at", "2015-05-25 20:59:58.091685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 20:59:58.092891"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.095018"], ["updated_at", "2015-05-25 20:59:58.095018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.096886"], ["updated_at", "2015-05-25 20:59:58.096886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.098275"], ["updated_at", "2015-05-25 20:59:58.098275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.101203"], ["updated_at", "2015-05-25 20:59:58.101203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 20:59:58.102526"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.104347"], ["updated_at", "2015-05-25 20:59:58.104347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.105947"], ["updated_at", "2015-05-25 20:59:58.105947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.107637"], ["updated_at", "2015-05-25 20:59:58.107637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.110104"], ["updated_at", "2015-05-25 20:59:58.110104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 20:59:58.111209"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.112694"], ["updated_at", "2015-05-25 20:59:58.112694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.114491"], ["updated_at", "2015-05-25 20:59:58.114491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.115764"], ["updated_at", "2015-05-25 20:59:58.115764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.118093"], ["updated_at", "2015-05-25 20:59:58.118093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 20:59:58.119184"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.120541"], ["updated_at", "2015-05-25 20:59:58.120541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.122296"], ["updated_at", "2015-05-25 20:59:58.122296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.123551"], ["updated_at", "2015-05-25 20:59:58.123551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.125939"], ["updated_at", "2015-05-25 20:59:58.125939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 20:59:58.127011"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.128375"], ["updated_at", "2015-05-25 20:59:58.128375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.130001"], ["updated_at", "2015-05-25 20:59:58.130001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.131891"], ["updated_at", "2015-05-25 20:59:58.131891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.134759"], ["updated_at", "2015-05-25 20:59:58.134759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 20:59:58.135864"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.137677"], ["updated_at", "2015-05-25 20:59:58.137677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.139227"], ["updated_at", "2015-05-25 20:59:58.139227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.140904"], ["updated_at", "2015-05-25 20:59:58.140904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.143208"], ["updated_at", "2015-05-25 20:59:58.143208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 20:59:58.144364"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.146781"], ["updated_at", "2015-05-25 20:59:58.146781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 20:59:58.145707"], ["created_at", "2015-05-25 20:59:58.148003"], ["updated_at", "2015-05-25 20:59:58.148003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.155916"], ["updated_at", "2015-05-25 20:59:58.155916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.158186"], ["updated_at", "2015-05-25 20:59:58.158186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.161166"], ["updated_at", "2015-05-25 20:59:58.161166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.163577"], ["updated_at", "2015-05-25 20:59:58.163577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.165113"], ["updated_at", "2015-05-25 20:59:58.165113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.167087"], ["updated_at", "2015-05-25 20:59:58.167087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.168749"], ["updated_at", "2015-05-25 20:59:58.168749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 20:59:57.620128"], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.170159"], ["updated_at", "2015-05-25 20:59:58.170159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.172219"], ["updated_at", "2015-05-25 20:59:58.172219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 20:59:58.170961"], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.173666"], ["updated_at", "2015-05-25 20:59:58.173666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.175957"], ["updated_at", "2015-05-25 20:59:58.175957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.177759"], ["updated_at", "2015-05-25 20:59:58.177759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.179242"], ["updated_at", "2015-05-25 20:59:58.179242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.181179"], ["updated_at", "2015-05-25 20:59:58.181179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.182928"], ["updated_at", "2015-05-25 20:59:58.182928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 20:59:57.620128"], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.184354"], ["updated_at", "2015-05-25 20:59:58.184354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.186411"], ["updated_at", "2015-05-25 20:59:58.186411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.188095"], ["updated_at", "2015-05-25 20:59:58.188095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.189814"], ["updated_at", "2015-05-25 20:59:58.189814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.191478"], ["updated_at", "2015-05-25 20:59:58.191478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.193619"], ["updated_at", "2015-05-25 20:59:58.193619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.195816"], ["updated_at", "2015-05-25 20:59:58.195816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 20:59:57.620128"], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.197300"], ["updated_at", "2015-05-25 20:59:58.197300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.215852"], ["updated_at", "2015-05-25 20:59:58.215852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 20:59:58.222668"], ["updated_at", "2015-05-25 20:59:58.222668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 20:59:58.224170"], ["updated_at", "2015-05-25 20:59:58.224170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.225750"], ["updated_at", "2015-05-25 20:59:58.225750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.228392"], ["updated_at", "2015-05-25 20:59:58.228392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.229858"], ["updated_at", "2015-05-25 20:59:58.229858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.231292"], ["updated_at", "2015-05-25 20:59:58.231292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.233131"], ["updated_at", "2015-05-25 20:59:58.233131"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.234607"], ["updated_at", "2015-05-25 20:59:58.234607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.236291"], ["updated_at", "2015-05-25 20:59:58.236291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.237832"], ["updated_at", "2015-05-25 20:59:58.237832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.240528"], ["updated_at", "2015-05-25 20:59:58.240528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 20:59:58.241337"], ["updated_at", "2015-05-25 20:59:58.241688"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 20:59:58.243532"], ["updated_at", "2015-05-25 20:59:58.243532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.244925"], ["updated_at", "2015-05-25 20:59:58.244925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-93') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-93"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.246620"], ["updated_at", "2015-05-25 20:59:58.246620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 20:59:58.247831"], ["updated_at", "2015-05-25 20:59:58.247831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 20:59:58.250232"], ["updated_at", "2015-05-25 20:59:58.250232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 20:59:58.250974"], ["updated_at", "2015-05-25 20:59:58.251376"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-94') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-94"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.285096"], ["updated_at", "2015-05-25 20:59:58.285096"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 20:59:58.286915"], ["updated_at", "2015-05-25 20:59:58.286915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 20:59:58.287865"], ["updated_at", "2015-05-25 20:59:58.288216"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-95') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-95"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 20:59:58.290511"], ["updated_at", "2015-05-25 20:59:58.290511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 20:59:58.289326"], ["created_at", "2015-05-25 20:59:58.291999"], ["updated_at", "2015-05-25 20:59:58.291999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.017412"], ["updated_at", "2015-05-25 21:00:40.017412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 21:00:39.816486"], ["created_at", "2015-05-25 21:00:40.022669"], ["updated_at", "2015-05-25 21:00:40.022669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 21:00:40.029823"], ["updated_at", "2015-05-25 21:00:40.029823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.032381"], ["updated_at", "2015-05-25 21:00:40.032381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.034752"], ["updated_at", "2015-05-25 21:00:40.034752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.041977"], ["updated_at", "2015-05-25 21:00:40.041977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 21:00:40.044249"], ["updated_at", "2015-05-25 21:00:40.044249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.046554"], ["updated_at", "2015-05-25 21:00:40.046554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 18:00:40.044951"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.047968"], ["updated_at", "2015-05-25 21:00:40.047968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 18:00:40.044951"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.049315"], ["updated_at", "2015-05-25 21:00:40.049315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 21:00:40.050840"], ["updated_at", "2015-05-25 21:00:40.050840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.052657"], ["updated_at", "2015-05-25 21:00:40.052657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.054400"], ["updated_at", "2015-05-25 21:00:40.054400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.056284"], ["updated_at", "2015-05-25 21:00:40.056284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.058822"], ["updated_at", "2015-05-25 21:00:40.058822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 21:00:40.059839"], ["updated_at", "2015-05-25 21:00:40.059839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.061604"], ["updated_at", "2015-05-25 21:00:40.061604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.063150"], ["updated_at", "2015-05-25 21:00:40.063150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 21:00:40.069087"], ["updated_at", "2015-05-25 21:00:40.069087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.071587"], ["updated_at", "2015-05-25 21:00:40.071587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.079611"], ["updated_at", "2015-05-25 21:00:40.079611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.081143"], ["updated_at", "2015-05-25 21:00:40.081143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 21:00:40.082964"], ["updated_at", "2015-05-25 21:00:40.082964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.085040"], ["updated_at", "2015-05-25 21:00:40.085040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-26 00:00:40.083626"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.086973"], ["updated_at", "2015-05-25 21:00:40.086973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-26 00:00:40.083626"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.088708"], ["updated_at", "2015-05-25 21:00:40.088708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 21:00:40.090291"], ["updated_at", "2015-05-25 21:00:40.090291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.092138"], ["updated_at", "2015-05-25 21:00:40.092138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.093528"], ["updated_at", "2015-05-25 21:00:40.093528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.094857"], ["updated_at", "2015-05-25 21:00:40.094857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.096963"], ["updated_at", "2015-05-25 21:00:40.096963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 21:00:40.097870"], ["updated_at", "2015-05-25 21:00:40.097870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.099434"], ["updated_at", "2015-05-25 21:00:40.099434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.100666"], ["updated_at", "2015-05-25 21:00:40.100666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 21:00:40.102167"], ["updated_at", "2015-05-25 21:00:40.102167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.103892"], ["updated_at", "2015-05-25 21:00:40.103892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.105234"], ["updated_at", "2015-05-25 21:00:40.105234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.106565"], ["updated_at", "2015-05-25 21:00:40.106565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.108098"], ["updated_at", "2015-05-25 21:00:40.108098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.109802"], ["updated_at", "2015-05-25 21:00:40.109802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 21:00:39.816486"], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.111327"], ["updated_at", "2015-05-25 21:00:40.111327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.113305"], ["updated_at", "2015-05-25 21:00:40.113305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 21:00:40.112124"], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.114612"], ["updated_at", "2015-05-25 21:00:40.114612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.122772"], ["updated_at", "2015-05-25 21:00:40.122772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.124755"], ["updated_at", "2015-05-25 21:00:40.124755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.126296"], ["updated_at", "2015-05-25 21:00:40.126296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.129388"], ["updated_at", "2015-05-25 21:00:40.129388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.131073"], ["updated_at", "2015-05-25 21:00:40.131073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 21:00:39.816486"], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.132466"], ["updated_at", "2015-05-25 21:00:40.132466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.134355"], ["updated_at", "2015-05-25 21:00:40.134355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.135975"], ["updated_at", "2015-05-25 21:00:40.135975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.137411"], ["updated_at", "2015-05-25 21:00:40.137411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.140351"], ["updated_at", "2015-05-25 21:00:40.140351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.142024"], ["updated_at", "2015-05-25 21:00:40.142024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 21:00:39.816486"], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.143398"], ["updated_at", "2015-05-25 21:00:40.143398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.145253"], ["updated_at", "2015-05-25 21:00:40.145253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.147541"], ["updated_at", "2015-05-25 21:00:40.147541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.149940"], ["updated_at", "2015-05-25 21:00:40.149940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.151482"], ["updated_at", "2015-05-25 21:00:40.151482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.154758"], ["updated_at", "2015-05-25 21:00:40.154758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.157181"], ["updated_at", "2015-05-25 21:00:40.157181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.159667"], ["updated_at", "2015-05-25 21:00:40.159667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.161787"], ["updated_at", "2015-05-25 21:00:40.161787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.164669"], ["updated_at", "2015-05-25 21:00:40.164669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.166947"], ["updated_at", "2015-05-25 21:00:40.166947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.169199"], ["updated_at", "2015-05-25 21:00:40.169199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.176944"], ["updated_at", "2015-05-25 21:00:40.176944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.180578"], ["updated_at", "2015-05-25 21:00:40.180578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.185009"], ["updated_at", "2015-05-25 21:00:40.185009"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.188135"], ["updated_at", "2015-05-25 21:00:40.188135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.191136"], ["updated_at", "2015-05-25 21:00:40.191136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.193627"], ["updated_at", "2015-05-25 21:00:40.193627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.196654"], ["updated_at", "2015-05-25 21:00:40.196654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.198950"], ["updated_at", "2015-05-25 21:00:40.198950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.201057"], ["updated_at", "2015-05-25 21:00:40.201057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.202961"], ["updated_at", "2015-05-25 21:00:40.202961"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.204338"], ["updated_at", "2015-05-25 21:00:40.204338"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 21:00:40.205441"], ["current_period_start", "2015-05-25 21:00:40.205441"], ["current_period_end", "2015-06-25 21:00:40.205441"], ["created_at", "2015-05-25 21:00:40.206200"], ["updated_at", "2015-05-25 21:00:40.206200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.208335"], ["updated_at", "2015-05-25 21:00:40.208335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.210286"], ["updated_at", "2015-05-25 21:00:40.210286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 21:00:40.211444"], ["current_period_start", "2015-05-25 21:00:40.211444"], ["current_period_end", "2015-06-25 21:00:40.211444"], ["created_at", "2015-05-25 21:00:40.212093"], ["updated_at", "2015-05-25 21:00:40.212093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.214841"], ["updated_at", "2015-05-25 21:00:40.214841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.216339"], ["updated_at", "2015-05-25 21:00:40.216339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.218165"], ["updated_at", "2015-05-25 21:00:40.218165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.219423"], ["updated_at", "2015-05-25 21:00:40.219423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.222619"], ["updated_at", "2015-05-25 21:00:40.222619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 21:00:40.223426"], ["updated_at", "2015-05-25 21:00:40.223876"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 21:00:40.226449"], ["current_period_start", "2015-05-25 21:00:40.226449"], ["current_period_end", "2015-06-25 21:00:40.226449"], ["created_at", "2015-05-25 21:00:40.227024"], ["updated_at", "2015-05-25 21:00:40.227024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.229732"], ["updated_at", "2015-05-25 21:00:40.229732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.231235"], ["updated_at", "2015-05-25 21:00:40.231235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.232886"], ["updated_at", "2015-05-25 21:00:40.232886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.234215"], ["updated_at", "2015-05-25 21:00:40.234215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.236788"], ["updated_at", "2015-05-25 21:00:40.236788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 21:00:40.238091"], ["updated_at", "2015-05-25 21:00:40.238493"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 21:00:40.239290"], ["current_period_start", "2015-05-25 21:00:40.239290"], ["current_period_end", "2015-06-25 21:00:40.239290"], ["created_at", "2015-05-25 21:00:40.240079"], ["updated_at", "2015-05-25 21:00:40.240079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.242349"], ["updated_at", "2015-05-25 21:00:40.242349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.243944"], ["updated_at", "2015-05-25 21:00:40.243944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.245825"], ["updated_at", "2015-05-25 21:00:40.245825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.247128"], ["updated_at", "2015-05-25 21:00:40.247128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.249578"], ["updated_at", "2015-05-25 21:00:40.249578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 21:00:40.250413"], ["updated_at", "2015-05-25 21:00:40.250760"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 21:00:40.251373"], ["current_period_start", "2015-05-25 21:00:40.251373"], ["current_period_end", "2015-06-25 21:00:40.251373"], ["created_at", "2015-05-25 21:00:40.251906"], ["updated_at", "2015-05-25 21:00:40.251906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.253897"], ["updated_at", "2015-05-25 21:00:40.253897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.255295"], ["updated_at", "2015-05-25 21:00:40.255295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.257021"], ["updated_at", "2015-05-25 21:00:40.257021"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.258317"], ["updated_at", "2015-05-25 21:00:40.258317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.260161"], ["updated_at", "2015-05-25 21:00:40.260161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.261447"], ["updated_at", "2015-05-25 21:00:40.261447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.263122"], ["updated_at", "2015-05-25 21:00:40.263122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 21:00:39.816486"], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.264388"], ["updated_at", "2015-05-25 21:00:40.264388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.266430"], ["updated_at", "2015-05-25 21:00:40.266430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.268472"], ["updated_at", "2015-05-25 21:00:40.268472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.270609"], ["updated_at", "2015-05-25 21:00:40.270609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.273911"], ["updated_at", "2015-05-25 21:00:40.273911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 21:00:40.275146"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.276734"], ["updated_at", "2015-05-25 21:00:40.276734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.278503"], ["updated_at", "2015-05-25 21:00:40.278503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.279954"], ["updated_at", "2015-05-25 21:00:40.279954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.282382"], ["updated_at", "2015-05-25 21:00:40.282382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 21:00:40.283514"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.285235"], ["updated_at", "2015-05-25 21:00:40.285235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.286809"], ["updated_at", "2015-05-25 21:00:40.286809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.288518"], ["updated_at", "2015-05-25 21:00:40.288518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.290840"], ["updated_at", "2015-05-25 21:00:40.290840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 21:00:40.291936"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.293390"], ["updated_at", "2015-05-25 21:00:40.293390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.295155"], ["updated_at", "2015-05-25 21:00:40.295155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.296504"], ["updated_at", "2015-05-25 21:00:40.296504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.299396"], ["updated_at", "2015-05-25 21:00:40.299396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 21:00:40.300759"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.302554"], ["updated_at", "2015-05-25 21:00:40.302554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.304164"], ["updated_at", "2015-05-25 21:00:40.304164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.306006"], ["updated_at", "2015-05-25 21:00:40.306006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.308494"], ["updated_at", "2015-05-25 21:00:40.308494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 21:00:40.309614"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.311511"], ["updated_at", "2015-05-25 21:00:40.311511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.313489"], ["updated_at", "2015-05-25 21:00:40.313489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.314779"], ["updated_at", "2015-05-25 21:00:40.314779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.317228"], ["updated_at", "2015-05-25 21:00:40.317228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 21:00:40.318369"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.319732"], ["updated_at", "2015-05-25 21:00:40.319732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.321467"], ["updated_at", "2015-05-25 21:00:40.321467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.322801"], ["updated_at", "2015-05-25 21:00:40.322801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.325066"], ["updated_at", "2015-05-25 21:00:40.325066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 21:00:40.326222"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.327729"], ["updated_at", "2015-05-25 21:00:40.327729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.329883"], ["updated_at", "2015-05-25 21:00:40.329883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.332114"], ["updated_at", "2015-05-25 21:00:40.332114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.333491"], ["updated_at", "2015-05-25 21:00:40.333491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.336170"], ["updated_at", "2015-05-25 21:00:40.336170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 21:00:40.337023"], ["updated_at", "2015-05-25 21:00:40.337394"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.339423"], ["updated_at", "2015-05-25 21:00:40.339423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.340814"], ["updated_at", "2015-05-25 21:00:40.340814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.342480"], ["updated_at", "2015-05-25 21:00:40.342480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.343766"], ["updated_at", "2015-05-25 21:00:40.343766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.346460"], ["updated_at", "2015-05-25 21:00:40.346460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 21:00:40.347237"], ["updated_at", "2015-05-25 21:00:40.347582"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.350433"], ["updated_at", "2015-05-25 21:00:40.350433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:00:40.349325"], ["created_at", "2015-05-25 21:00:40.351676"], ["updated_at", "2015-05-25 21:00:40.351676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.353749"], ["updated_at", "2015-05-25 21:00:40.353749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 21:00:40.355035"], ["updated_at", "2015-05-25 21:00:40.355035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 21:00:40.355743"], ["updated_at", "2015-05-25 21:00:40.356024"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.361109"], ["updated_at", "2015-05-25 21:00:40.361109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.364391"], ["updated_at", "2015-05-25 21:00:40.364391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.368536"], ["updated_at", "2015-05-25 21:00:40.368536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 21:00:40.367496"], ["created_at", "2015-05-25 21:00:40.369967"], ["updated_at", "2015-05-25 21:00:40.369967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 21:00:40.401916"], ["updated_at", "2015-05-25 21:00:40.401916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.403790"], ["updated_at", "2015-05-25 21:00:40.403790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 21:00:40.404509"], ["current_period_start", "2015-05-25 21:00:40.404509"], ["current_period_end", "2015-06-25 21:00:40.404509"], ["created_at", "2015-05-25 21:00:40.405108"], ["updated_at", "2015-05-25 21:00:40.405108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.407163"], ["updated_at", "2015-05-25 21:00:40.407163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.415421"], ["updated_at", "2015-05-25 21:00:40.415421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.418893"], ["updated_at", "2015-05-25 21:00:40.418893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.423034"], ["updated_at", "2015-05-25 21:00:40.423034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.427198"], ["updated_at", "2015-05-25 21:00:40.427198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.429389"], ["updated_at", "2015-05-25 21:00:40.429389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 21:00:40.427875"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.430843"], ["updated_at", "2015-05-25 21:00:40.430843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 21:00:40.427875"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.434141"], ["updated_at", "2015-05-25 21:00:40.434141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 21:00:40.427875"], ["current_period_end", "2015-06-24 21:00:40.427875"], ["updated_at", "2015-05-25 21:00:40.435297"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_after_success_path Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.437852"], ["updated_at", "2015-05-25 21:00:40.437852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.440073"], ["updated_at", "2015-05-25 21:00:40.440073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 21:00:40.438455"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.441381"], ["updated_at", "2015-05-25 21:00:40.441381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 21:00:40.438455"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.444626"], ["updated_at", "2015-05-25 21:00:40.444626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 21:00:40.438455"], ["current_period_end", "2015-06-24 21:00:40.438455"], ["updated_at", "2015-05-25 21:00:40.445754"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 21:00:40.447975"], ["updated_at", "2015-05-25 21:00:40.447975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.449732"], ["updated_at", "2015-05-25 21:00:40.449732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 21:00:40.448540"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 21:00:40.451386"], ["updated_at", "2015-05-25 21:00:40.451386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 21:00:40.448540"], ["status", "generated"], ["created_at", "2015-05-25 21:00:40.455568"], ["updated_at", "2015-05-25 21:00:40.455568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 21:00:40.448540"], ["current_period_end", "2015-06-24 21:00:40.448540"], ["updated_at", "2015-05-25 21:00:40.456835"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 5ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.459879"], ["updated_at", "2015-05-25 21:00:40.459879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.461478"], ["updated_at", "2015-05-25 21:00:40.461478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.463084"], ["updated_at", "2015-05-25 21:00:40.463084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.492933"], ["updated_at", "2015-05-25 21:00:40.492933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-93') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-93"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 21:00:40.496240"], ["updated_at", "2015-05-25 21:00:40.496240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-94') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-94"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 21:00:40.497830"], ["updated_at", "2015-05-25 21:00:40.497830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-95') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-95"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 21:00:40.499421"], ["updated_at", "2015-05-25 21:00:40.499421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", nil]] Completed 404 Not Found in 10ms (ActiveRecord: 0.9ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:11:45.125326"], ["updated_at", "2015-05-25 22:11:45.125326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:13:06.010541"], ["updated_at", "2015-05-25 22:13:06.010541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 10ms (ActiveRecord: 0.9ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:13:25.133562"], ["updated_at", "2015-05-25 22:13:25.133562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 13ms (ActiveRecord: 1.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.6ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:32:30.283451"], ["updated_at", "2015-05-25 22:32:30.283451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 9ms (ActiveRecord: 0.9ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:37:27.432368"], ["updated_at", "2015-05-25 22:37:27.432368"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:37:27.438309"], ["updated_at", "2015-05-25 22:37:27.438309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 8ms (ActiveRecord: 0.8ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:38:34.519321"], ["updated_at", "2015-05-25 22:38:34.519321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 9ms (ActiveRecord: 0.8ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:38:50.331457"], ["updated_at", "2015-05-25 22:38:50.331457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 9ms (ActiveRecord: 0.9ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:39:07.674964"], ["updated_at", "2015-05-25 22:39:07.674964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:39:07.686281"], ["updated_at", "2015-05-25 22:39:07.686281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:39:07.693501"], ["updated_at", "2015-05-25 22:39:07.693501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:39:16.044656"], ["updated_at", "2015-05-25 22:39:16.044656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:39:16.060863"], ["updated_at", "2015-05-25 22:39:16.060863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:39:16.069232"], ["updated_at", "2015-05-25 22:39:16.069232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:40:08.941906"], ["updated_at", "2015-05-25 22:40:08.941906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:40:08.959075"], ["updated_at", "2015-05-25 22:40:08.959075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:40:08.966283"], ["updated_at", "2015-05-25 22:40:08.966283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:48:09.385791"], ["updated_at", "2015-05-25 22:48:09.385791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:48:09.401908"], ["updated_at", "2015-05-25 22:48:09.401908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:48:09.409195"], ["updated_at", "2015-05-25 22:48:09.409195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 9ms (ActiveRecord: 0.8ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:50:53.186473"], ["updated_at", "2015-05-25 22:50:53.186473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:50:53.196935"], ["updated_at", "2015-05-25 22:50:53.196935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:50:53.204122"], ["updated_at", "2015-05-25 22:50:53.204122"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 11ms (ActiveRecord: 1.7ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:54:28.878976"], ["updated_at", "2015-05-25 22:54:28.878976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:54:28.888649"], ["updated_at", "2015-05-25 22:54:28.888649"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:54:28.896083"], ["updated_at", "2015-05-25 22:54:28.896083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:54:28.901971"], ["updated_at", "2015-05-25 22:54:28.901971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:54:28.904859"], ["updated_at", "2015-05-25 22:54:28.904859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:55:21.959011"], ["updated_at", "2015-05-25 22:55:21.959011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:55:21.975509"], ["updated_at", "2015-05-25 22:55:21.975509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:55:21.982594"], ["updated_at", "2015-05-25 22:55:21.982594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:55:21.984559"], ["updated_at", "2015-05-25 22:55:21.984559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:55:21.986984"], ["updated_at", "2015-05-25 22:55:21.986984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:56:06.710493"], ["updated_at", "2015-05-25 22:56:06.710493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:56:06.728588"], ["updated_at", "2015-05-25 22:56:06.728588"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:56:06.735476"], ["updated_at", "2015-05-25 22:56:06.735476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:56:06.740199"], ["updated_at", "2015-05-25 22:56:06.740199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:56:06.742769"], ["updated_at", "2015-05-25 22:56:06.742769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:56:15.635408"], ["updated_at", "2015-05-25 22:56:15.635408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:56:15.647446"], ["updated_at", "2015-05-25 22:56:15.647446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:56:15.654994"], ["updated_at", "2015-05-25 22:56:15.654994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:56:15.660620"], ["updated_at", "2015-05-25 22:56:15.660620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:56:15.663956"], ["updated_at", "2015-05-25 22:56:15.663956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 9ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:58:26.734212"], ["updated_at", "2015-05-25 22:58:26.734212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:58:26.744960"], ["updated_at", "2015-05-25 22:58:26.744960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:58:26.752577"], ["updated_at", "2015-05-25 22:58:26.752577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:58:26.760410"], ["updated_at", "2015-05-25 22:58:26.760410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:58:26.764820"], ["updated_at", "2015-05-25 22:58:26.764820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:58:26.771830"], ["updated_at", "2015-05-25 22:58:26.771830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:58:26.775087"], ["updated_at", "2015-05-25 22:58:26.775087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:58:43.707943"], ["updated_at", "2015-05-25 22:58:43.707943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:58:43.723791"], ["updated_at", "2015-05-25 22:58:43.723791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:58:43.731070"], ["updated_at", "2015-05-25 22:58:43.731070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:58:43.737836"], ["updated_at", "2015-05-25 22:58:43.737836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:58:43.740699"], ["updated_at", "2015-05-25 22:58:43.740699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 22:58:43.747208"], ["updated_at", "2015-05-25 22:58:43.747208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 22:58:43.750985"], ["updated_at", "2015-05-25 22:58:43.750985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:24.786977"], ["updated_at", "2015-05-25 23:04:24.786977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:04:24.803002"], ["updated_at", "2015-05-25 23:04:24.803002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:24.810043"], ["updated_at", "2015-05-25 23:04:24.810043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:04:24.821091"], ["current_period_start", "2015-05-25 23:04:24.821091"], ["current_period_end", "2015-06-25 23:04:24.821091"], ["created_at", "2015-05-25 23:04:24.828635"], ["updated_at", "2015-05-25 23:04:24.828635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 23ms (ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:04:24.836210"], ["updated_at", "2015-05-25 23:04:24.836210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:24.839370"], ["updated_at", "2015-05-25 23:04:24.839370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 10ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:04:24.852517"], ["updated_at", "2015-05-25 23:04:24.852517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:24.855850"], ["updated_at", "2015-05-25 23:04:24.855850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:04:24.861571"], ["updated_at", "2015-05-25 23:04:24.861571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:24.864559"], ["updated_at", "2015-05-25 23:04:24.864559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:38.108142"], ["updated_at", "2015-05-25 23:04:38.108142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:04:38.123643"], ["updated_at", "2015-05-25 23:04:38.123643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:38.130748"], ["updated_at", "2015-05-25 23:04:38.130748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:04:38.142177"], ["current_period_start", "2015-05-25 23:04:38.142177"], ["current_period_end", "2015-06-25 23:04:38.142177"], ["created_at", "2015-05-25 23:04:38.150034"], ["updated_at", "2015-05-25 23:04:38.150034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:04:38.153759"], ["updated_at", "2015-05-25 23:04:38.153759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:38.157492"], ["updated_at", "2015-05-25 23:04:38.157492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 10ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:04:38.170938"], ["updated_at", "2015-05-25 23:04:38.170938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:38.174341"], ["updated_at", "2015-05-25 23:04:38.174341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:04:38.179336"], ["updated_at", "2015-05-25 23:04:38.179336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:38.182067"], ["updated_at", "2015-05-25 23:04:38.182067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.5ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 15ms (ActiveRecord: 0.9ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:56.356160"], ["updated_at", "2015-05-25 23:04:56.356160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:04:56.367987"], ["updated_at", "2015-05-25 23:04:56.367987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:56.376688"], ["updated_at", "2015-05-25 23:04:56.376688"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 5ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:04:56.384720"], ["updated_at", "2015-05-25 23:04:56.384720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:56.388378"], ["updated_at", "2015-05-25 23:04:56.388378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:04:56.393360"], ["updated_at", "2015-05-25 23:04:56.393360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:56.396299"], ["updated_at", "2015-05-25 23:04:56.396299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:04:56.400516"], ["updated_at", "2015-05-25 23:04:56.400516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:04:56.403298"], ["updated_at", "2015-05-25 23:04:56.403298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:04:56.415639"], ["current_period_start", "2015-05-25 23:04:56.415639"], ["current_period_end", "2015-06-25 23:04:56.415639"], ["created_at", "2015-05-25 23:04:56.421770"], ["updated_at", "2015-05-25 23:04:56.421770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5625ms (ActiveRecord: 0.4ms)  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:05:06.422822"], ["updated_at", "2015-05-25 23:05:06.422822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:05:06.438141"], ["updated_at", "2015-05-25 23:05:06.438141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:05:06.444754"], ["updated_at", "2015-05-25 23:05:06.444754"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:05:06.457282"], ["current_period_start", "2015-05-25 23:05:06.457282"], ["current_period_end", "2015-06-25 23:05:06.457282"], ["created_at", "2015-05-25 23:05:06.464830"], ["updated_at", "2015-05-25 23:05:06.464830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 19108ms (ActiveRecord: 0.6ms)  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:05:25.570653"], ["updated_at", "2015-05-25 23:05:25.570653"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:05:25.603093"], ["updated_at", "2015-05-25 23:05:25.603093"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 38ms (ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:05:25.676511"], ["updated_at", "2015-05-25 23:05:25.676511"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:05:25.704341"], ["updated_at", "2015-05-25 23:05:25.704341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 7ms (ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:05:25.737282"], ["updated_at", "2015-05-25 23:05:25.737282"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:05:25.770391"], ["updated_at", "2015-05-25 23:05:25.770391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 6ms (ActiveRecord: 0.3ms)  (0.4ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 15ms (ActiveRecord: 0.9ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:07:22.691391"], ["updated_at", "2015-05-25 23:07:22.691391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:07:22.701393"], ["updated_at", "2015-05-25 23:07:22.701393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:07:22.708345"], ["updated_at", "2015-05-25 23:07:22.708345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:07:22.714902"], ["updated_at", "2015-05-25 23:07:22.714902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:07:22.718489"], ["updated_at", "2015-05-25 23:07:22.718489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:07:22.723418"], ["updated_at", "2015-05-25 23:07:22.723418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:07:22.726813"], ["updated_at", "2015-05-25 23:07:22.726813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:07:22.731027"], ["updated_at", "2015-05-25 23:07:22.731027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:07:22.733448"], ["updated_at", "2015-05-25 23:07:22.733448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:07:22.744327"], ["current_period_start", "2015-05-25 23:07:22.744327"], ["current_period_end", "2015-06-25 23:07:22.744327"], ["created_at", "2015-05-25 23:07:22.751365"], ["updated_at", "2015-05-25 23:07:22.751365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 18ms (ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 15ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:07:54.616238"], ["updated_at", "2015-05-25 23:07:54.616238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:07:54.626995"], ["updated_at", "2015-05-25 23:07:54.626995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:07:54.634229"], ["updated_at", "2015-05-25 23:07:54.634229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:07:54.641074"], ["updated_at", "2015-05-25 23:07:54.641074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:07:54.644888"], ["updated_at", "2015-05-25 23:07:54.644888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:07:54.649077"], ["updated_at", "2015-05-25 23:07:54.649077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:07:54.651717"], ["updated_at", "2015-05-25 23:07:54.651717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:07:54.657116"], ["updated_at", "2015-05-25 23:07:54.657116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:07:54.660366"], ["updated_at", "2015-05-25 23:07:54.660366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:07:54.671851"], ["current_period_start", "2015-05-25 23:07:54.671851"], ["current_period_end", "2015-06-25 23:07:54.671851"], ["created_at", "2015-05-25 23:07:54.680225"], ["updated_at", "2015-05-25 23:07:54.680225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 19ms (ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:07:54.683295"], ["updated_at", "2015-05-25 23:07:54.683295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:07:54.686380"], ["updated_at", "2015-05-25 23:07:54.686380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:07:54.689084"], ["current_period_start", "2015-05-25 23:07:54.689084"], ["current_period_end", "2015-06-25 23:07:54.689084"], ["created_at", "2015-05-25 23:07:54.689793"], ["updated_at", "2015-05-25 23:07:54.689793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:07:54.692586"], ["updated_at", "2015-05-25 23:07:54.692586"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:07:54.695399"], ["updated_at", "2015-05-25 23:07:54.695399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:07:54.698635"], ["current_period_start", "2015-05-25 23:07:54.698635"], ["current_period_end", "2015-06-25 23:07:54.698635"], ["created_at", "2015-05-25 23:07:54.699395"], ["updated_at", "2015-05-25 23:07:54.699395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/after_change_plan_success Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:04.366635"], ["updated_at", "2015-05-25 23:08:04.366635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:04.383407"], ["updated_at", "2015-05-25 23:08:04.383407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:04.391739"], ["updated_at", "2015-05-25 23:08:04.391739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:08:04.405271"], ["current_period_start", "2015-05-25 23:08:04.405271"], ["current_period_end", "2015-06-25 23:08:04.405271"], ["created_at", "2015-05-25 23:08:04.411832"], ["updated_at", "2015-05-25 23:08:04.411832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/after_change_plan_success Completed 302 Found in 21ms (ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:04.417086"], ["updated_at", "2015-05-25 23:08:04.417086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:04.419831"], ["updated_at", "2015-05-25 23:08:04.419831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:08:04.422602"], ["current_period_start", "2015-05-25 23:08:04.422602"], ["current_period_end", "2015-06-25 23:08:04.422602"], ["created_at", "2015-05-25 23:08:04.423280"], ["updated_at", "2015-05-25 23:08:04.423280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:04.426728"], ["updated_at", "2015-05-25 23:08:04.426728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:04.431187"], ["updated_at", "2015-05-25 23:08:04.431187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:08:04.434162"], ["current_period_start", "2015-05-25 23:08:04.434162"], ["current_period_end", "2015-06-25 23:08:04.434162"], ["created_at", "2015-05-25 23:08:04.434878"], ["updated_at", "2015-05-25 23:08:04.434878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:04.437769"], ["updated_at", "2015-05-25 23:08:04.437769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:04.441140"], ["updated_at", "2015-05-25 23:08:04.441140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:04.446055"], ["updated_at", "2015-05-25 23:08:04.446055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:04.449658"], ["updated_at", "2015-05-25 23:08:04.449658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:04.454044"], ["updated_at", "2015-05-25 23:08:04.454044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:04.456873"], ["updated_at", "2015-05-25 23:08:04.456873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 14ms (ActiveRecord: 0.8ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:31.044085"], ["updated_at", "2015-05-25 23:08:31.044085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:31.054083"], ["updated_at", "2015-05-25 23:08:31.054083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:31.062503"], ["updated_at", "2015-05-25 23:08:31.062503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:31.070300"], ["updated_at", "2015-05-25 23:08:31.070300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:31.073659"], ["updated_at", "2015-05-25 23:08:31.073659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:31.078079"], ["updated_at", "2015-05-25 23:08:31.078079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:31.080894"], ["updated_at", "2015-05-25 23:08:31.080894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:31.086741"], ["updated_at", "2015-05-25 23:08:31.086741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:31.095597"], ["updated_at", "2015-05-25 23:08:31.095597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:08:31.101659"], ["updated_at", "2015-05-25 23:08:31.101659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:31.104637"], ["updated_at", "2015-05-25 23:08:31.104637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:08:31.122950"], ["updated_at", "2015-05-25 23:08:31.122950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:08:31.125061"], ["updated_at", "2015-05-25 23:08:31.125687"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:08:31.127765"], ["current_period_start", "2015-05-25 23:08:31.127765"], ["current_period_end", "2015-06-25 23:08:31.127765"], ["created_at", "2015-05-25 23:08:31.128799"], ["updated_at", "2015-05-25 23:08:31.128799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 24ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:31.131678"], ["updated_at", "2015-05-25 23:08:31.131678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:31.133967"], ["updated_at", "2015-05-25 23:08:31.133967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:08:31.139965"], ["updated_at", "2015-05-25 23:08:31.139965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:31.143181"], ["updated_at", "2015-05-25 23:08:31.143181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:08:31.147548"], ["updated_at", "2015-05-25 23:08:31.147548"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:08:31.148454"], ["updated_at", "2015-05-25 23:08:31.148833"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:08:31.149713"], ["current_period_start", "2015-05-25 23:08:31.149713"], ["current_period_end", "2015-06-25 23:08:31.149713"], ["created_at", "2015-05-25 23:08:31.150268"], ["updated_at", "2015-05-25 23:08:31.150268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 7ms (ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:31.152612"], ["updated_at", "2015-05-25 23:08:31.152612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:31.154532"], ["updated_at", "2015-05-25 23:08:31.154532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:08:31.156386"], ["updated_at", "2015-05-25 23:08:31.156386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:31.160031"], ["updated_at", "2015-05-25 23:08:31.160031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:08:31.166356"], ["updated_at", "2015-05-25 23:08:31.166356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:08:31.167422"], ["updated_at", "2015-05-25 23:08:31.167843"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:08:31.168606"], ["current_period_start", "2015-05-25 23:08:31.168606"], ["current_period_end", "2015-06-25 23:08:31.168606"], ["created_at", "2015-05-25 23:08:31.169269"], ["updated_at", "2015-05-25 23:08:31.169269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/after_change_plan_success Completed 302 Found in 8ms (ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:38.543981"], ["updated_at", "2015-05-25 23:08:38.543981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:08:38.561940"], ["updated_at", "2015-05-25 23:08:38.561940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:38.569895"], ["updated_at", "2015-05-25 23:08:38.569895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:08:38.575185"], ["updated_at", "2015-05-25 23:08:38.575185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:08:38.583247"], ["updated_at", "2015-05-25 23:08:38.583247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:08:38.602075"], ["updated_at", "2015-05-25 23:08:38.602075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:08:38.603369"], ["updated_at", "2015-05-25 23:08:38.603818"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:08:38.605251"], ["current_period_start", "2015-05-25 23:08:38.605251"], ["current_period_end", "2015-06-25 23:08:38.605251"], ["created_at", "2015-05-25 23:08:38.606196"], ["updated_at", "2015-05-25 23:08:38.606196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 22156ms (ActiveRecord: 0.9ms)  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:09:00.753451"], ["updated_at", "2015-05-25 23:09:00.753451"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:00.769653"], ["updated_at", "2015-05-25 23:09:00.769653"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:09:00.787851"], ["updated_at", "2015-05-25 23:09:00.787851"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:00.820394"], ["updated_at", "2015-05-25 23:09:00.820394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:09:00.874993"], ["updated_at", "2015-05-25 23:09:00.874993"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:09:00.886655"], ["updated_at", "2015-05-25 23:09:00.889829"], ["id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:09:00.898604"], ["current_period_start", "2015-05-25 23:09:00.898604"], ["current_period_end", "2015-06-25 23:09:00.898604"], ["created_at", "2015-05-25 23:09:00.905365"], ["updated_at", "2015-05-25 23:09:00.905365"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/after_change_plan_success Completed 302 Found in 3426ms (ActiveRecord: 2.8ms)  (0.6ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:09:04.282759"], ["updated_at", "2015-05-25 23:09:04.282759"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:04.301091"], ["updated_at", "2015-05-25 23:09:04.301091"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:09:04.317986"], ["updated_at", "2015-05-25 23:09:04.317986"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (1.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:04.356690"], ["updated_at", "2015-05-25 23:09:04.356690"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:09:04.426063"], ["updated_at", "2015-05-25 23:09:04.426063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:09:04.437503"], ["updated_at", "2015-05-25 23:09:04.440283"], ["id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:09:04.445429"], ["current_period_start", "2015-05-25 23:09:04.445429"], ["current_period_end", "2015-06-25 23:09:04.445429"], ["created_at", "2015-05-25 23:09:04.455576"], ["updated_at", "2015-05-25 23:09:04.455576"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 798ms (ActiveRecord: 2.6ms)  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:09:05.218779"], ["updated_at", "2015-05-25 23:09:05.218779"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:05.252332"], ["updated_at", "2015-05-25 23:09:05.252332"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 6ms (ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:09:05.283244"], ["updated_at", "2015-05-25 23:09:05.283244"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:05.316257"], ["updated_at", "2015-05-25 23:09:05.316257"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 6ms (ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:09:05.362329"], ["updated_at", "2015-05-25 23:09:05.362329"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:05.430431"], ["updated_at", "2015-05-25 23:09:05.430431"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 9ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 14ms (ActiveRecord: 0.9ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:26.512186"], ["updated_at", "2015-05-25 23:09:26.512186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:09:26.523518"], ["updated_at", "2015-05-25 23:09:26.523518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:26.530914"], ["updated_at", "2015-05-25 23:09:26.530914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:09:26.537981"], ["updated_at", "2015-05-25 23:09:26.537981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:26.541515"], ["updated_at", "2015-05-25 23:09:26.541515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:09:26.545428"], ["updated_at", "2015-05-25 23:09:26.545428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:26.548451"], ["updated_at", "2015-05-25 23:09:26.548451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:09:26.552752"], ["updated_at", "2015-05-25 23:09:26.552752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:26.563312"], ["updated_at", "2015-05-25 23:09:26.563312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:09:26.569953"], ["updated_at", "2015-05-25 23:09:26.569953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:09:36.931042"], ["updated_at", "2015-05-25 23:09:36.931042"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.3ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:09:37.008145"], ["updated_at", "2015-05-25 23:09:37.008145"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:09:37.016807"], ["updated_at", "2015-05-25 23:09:37.024229"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:09:37.030067"], ["current_period_start", "2015-05-25 23:09:37.030067"], ["current_period_end", "2015-06-25 23:09:37.030067"], ["created_at", "2015-05-25 23:09:37.035551"], ["updated_at", "2015-05-25 23:09:37.035551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Payment Load (0.4ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 70431ms (ActiveRecord: 4.1ms)  (0.4ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:10:47.386698"], ["updated_at", "2015-05-25 23:10:47.386698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:10:47.405490"], ["updated_at", "2015-05-25 23:10:47.405490"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:10:47.422502"], ["updated_at", "2015-05-25 23:10:47.422502"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:10:48.405525"], ["updated_at", "2015-05-25 23:10:48.405525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:10:48.449451"], ["updated_at", "2015-05-25 23:10:48.449451"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:10:48.458410"], ["updated_at", "2015-05-25 23:10:48.462115"], ["id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:10:48.472314"], ["current_period_start", "2015-05-25 23:10:48.472314"], ["current_period_end", "2015-06-25 23:10:48.472314"], ["created_at", "2015-05-25 23:10:48.477896"], ["updated_at", "2015-05-25 23:10:48.477896"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 594ms (ActiveRecord: 3.0ms)  (1.5ms) rollback transaction  (1.0ms) begin transaction  (0.5ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:10:49.054494"], ["updated_at", "2015-05-25 23:10:49.054494"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:10:49.079186"], ["updated_at", "2015-05-25 23:10:49.079186"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:10:49.097033"], ["updated_at", "2015-05-25 23:10:49.097033"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (4.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:10:49.548071"], ["updated_at", "2015-05-25 23:10:49.548071"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.3ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:10:49.602517"], ["updated_at", "2015-05-25 23:10:49.602517"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:10:49.614256"], ["updated_at", "2015-05-25 23:10:49.616900"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:10:49.621739"], ["current_period_start", "2015-05-25 23:10:49.621739"], ["current_period_end", "2015-06-25 23:10:49.621739"], ["created_at", "2015-05-25 23:10:49.629941"], ["updated_at", "2015-05-25 23:10:49.629941"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/after_change_plan_success Completed 302 Found in 765ms (ActiveRecord: 2.4ms)  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.645190"], ["updated_at", "2015-05-25 23:11:28.645190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.657484"], ["updated_at", "2015-05-25 23:11:28.657484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.664992"], ["updated_at", "2015-05-25 23:11:28.664992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.670718"], ["updated_at", "2015-05-25 23:11:28.670718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.679934"], ["updated_at", "2015-05-25 23:11:28.679934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.681513"], ["updated_at", "2015-05-25 23:11:28.681513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.683314"], ["updated_at", "2015-05-25 23:11:28.683314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:11:28.448822"], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.684857"], ["updated_at", "2015-05-25 23:11:28.684857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.687353"], ["updated_at", "2015-05-25 23:11:28.687353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.689213"], ["updated_at", "2015-05-25 23:11:28.689213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.691245"], ["updated_at", "2015-05-25 23:11:28.691245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.700439"], ["updated_at", "2015-05-25 23:11:28.700439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:11:28.701966"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.2ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.714022"], ["updated_at", "2015-05-25 23:11:28.714022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.716666"], ["updated_at", "2015-05-25 23:11:28.716666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.718425"], ["updated_at", "2015-05-25 23:11:28.718425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.721317"], ["updated_at", "2015-05-25 23:11:28.721317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:11:28.723072"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.725733"], ["updated_at", "2015-05-25 23:11:28.725733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.727875"], ["updated_at", "2015-05-25 23:11:28.727875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.729292"], ["updated_at", "2015-05-25 23:11:28.729292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.731889"], ["updated_at", "2015-05-25 23:11:28.731889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 23:11:28.733081"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.734703"], ["updated_at", "2015-05-25 23:11:28.734703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.736632"], ["updated_at", "2015-05-25 23:11:28.736632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.738060"], ["updated_at", "2015-05-25 23:11:28.738060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.740464"], ["updated_at", "2015-05-25 23:11:28.740464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:11:28.741568"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.743016"], ["updated_at", "2015-05-25 23:11:28.743016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.744566"], ["updated_at", "2015-05-25 23:11:28.744566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.746331"], ["updated_at", "2015-05-25 23:11:28.746331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.748639"], ["updated_at", "2015-05-25 23:11:28.748639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 23:11:28.749873"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.751460"], ["updated_at", "2015-05-25 23:11:28.751460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.753270"], ["updated_at", "2015-05-25 23:11:28.753270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.755574"], ["updated_at", "2015-05-25 23:11:28.755574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.760617"], ["updated_at", "2015-05-25 23:11:28.760617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 23:11:28.762326"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.764304"], ["updated_at", "2015-05-25 23:11:28.764304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.766753"], ["updated_at", "2015-05-25 23:11:28.766753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.768449"], ["updated_at", "2015-05-25 23:11:28.768449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.771337"], ["updated_at", "2015-05-25 23:11:28.771337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:11:28.773081"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.775170"], ["updated_at", "2015-05-25 23:11:28.775170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.776761"], ["updated_at", "2015-05-25 23:11:28.776761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:11:28.778006"], ["current_period_start", "2015-05-25 23:11:28.778006"], ["current_period_end", "2015-06-25 23:11:28.778006"], ["created_at", "2015-05-25 23:11:28.778637"], ["updated_at", "2015-05-25 23:11:28.778637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.780133"], ["updated_at", "2015-05-25 23:11:28.780133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.781543"], ["updated_at", "2015-05-25 23:11:28.781543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:11:28.782647"], ["current_period_start", "2015-05-25 23:11:28.782647"], ["current_period_end", "2015-06-25 23:11:28.782647"], ["created_at", "2015-05-25 23:11:28.783360"], ["updated_at", "2015-05-25 23:11:28.783360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.785941"], ["updated_at", "2015-05-25 23:11:28.785941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.787542"], ["updated_at", "2015-05-25 23:11:28.787542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.789653"], ["updated_at", "2015-05-25 23:11:28.789653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.791172"], ["updated_at", "2015-05-25 23:11:28.791172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.793818"], ["updated_at", "2015-05-25 23:11:28.793818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:28.794604"], ["updated_at", "2015-05-25 23:11:28.794956"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:11:28.795591"], ["current_period_start", "2015-05-25 23:11:28.795591"], ["current_period_end", "2015-06-25 23:11:28.795591"], ["created_at", "2015-05-25 23:11:28.796123"], ["updated_at", "2015-05-25 23:11:28.796123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.798517"], ["updated_at", "2015-05-25 23:11:28.798517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.800247"], ["updated_at", "2015-05-25 23:11:28.800247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.802095"], ["updated_at", "2015-05-25 23:11:28.802095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.803417"], ["updated_at", "2015-05-25 23:11:28.803417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.806335"], ["updated_at", "2015-05-25 23:11:28.806335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:28.807241"], ["updated_at", "2015-05-25 23:11:28.807643"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:11:28.808304"], ["current_period_start", "2015-05-25 23:11:28.808304"], ["current_period_end", "2015-06-25 23:11:28.808304"], ["created_at", "2015-05-25 23:11:28.808845"], ["updated_at", "2015-05-25 23:11:28.808845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.810720"], ["updated_at", "2015-05-25 23:11:28.810720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.812189"], ["updated_at", "2015-05-25 23:11:28.812189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-19"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.813893"], ["updated_at", "2015-05-25 23:11:28.813893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.815600"], ["updated_at", "2015-05-25 23:11:28.815600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.818252"], ["updated_at", "2015-05-25 23:11:28.818252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:28.819033"], ["updated_at", "2015-05-25 23:11:28.819397"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:11:28.819998"], ["current_period_start", "2015-05-25 23:11:28.819998"], ["current_period_end", "2015-06-25 23:11:28.819998"], ["created_at", "2015-05-25 23:11:28.820549"], ["updated_at", "2015-05-25 23:11:28.820549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-20"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.823737"], ["updated_at", "2015-05-25 23:11:28.823737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:11:28.448822"], ["created_at", "2015-05-25 23:11:28.825172"], ["updated_at", "2015-05-25 23:11:28.825172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:28.826806"], ["updated_at", "2015-05-25 23:11:28.826806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-21"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.828623"], ["updated_at", "2015-05-25 23:11:28.828623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 20:11:28.827471"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.830012"], ["updated_at", "2015-05-25 23:11:28.830012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 20:11:28.827471"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.831477"], ["updated_at", "2015-05-25 23:11:28.831477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.833579"], ["updated_at", "2015-05-25 23:11:28.833579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:28.834611"], ["updated_at", "2015-05-25 23:11:28.834611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.836133"], ["updated_at", "2015-05-25 23:11:28.836133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.837389"], ["updated_at", "2015-05-25 23:11:28.837389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-22"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.840544"], ["updated_at", "2015-05-25 23:11:28.840544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:28.841868"], ["updated_at", "2015-05-25 23:11:28.841868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.843666"], ["updated_at", "2015-05-25 23:11:28.843666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.845426"], ["updated_at", "2015-05-25 23:11:28.845426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:28.851279"], ["updated_at", "2015-05-25 23:11:28.851279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-23"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.853255"], ["updated_at", "2015-05-25 23:11:28.853255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.854668"], ["updated_at", "2015-05-25 23:11:28.854668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.856385"], ["updated_at", "2015-05-25 23:11:28.856385"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:28.858571"], ["updated_at", "2015-05-25 23:11:28.858571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-24"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.860741"], ["updated_at", "2015-05-25 23:11:28.860741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.862283"], ["updated_at", "2015-05-25 23:11:28.862283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.863699"], ["updated_at", "2015-05-25 23:11:28.863699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:28.865269"], ["updated_at", "2015-05-25 23:11:28.865269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.867040"], ["updated_at", "2015-05-25 23:11:28.867040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.868609"], ["updated_at", "2015-05-25 23:11:28.868609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.870073"], ["updated_at", "2015-05-25 23:11:28.870073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:28.871541"], ["updated_at", "2015-05-25 23:11:28.871541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.873373"], ["updated_at", "2015-05-25 23:11:28.873373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-26 02:11:28.872194"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.874851"], ["updated_at", "2015-05-25 23:11:28.874851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-26 02:11:28.872194"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.876761"], ["updated_at", "2015-05-25 23:11:28.876761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:28.878458"], ["updated_at", "2015-05-25 23:11:28.878458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.881750"], ["updated_at", "2015-05-25 23:11:28.881750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.883436"], ["updated_at", "2015-05-25 23:11:28.883436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.884925"], ["updated_at", "2015-05-25 23:11:28.884925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:28.886477"], ["updated_at", "2015-05-25 23:11:28.886477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.888269"], ["updated_at", "2015-05-25 23:11:28.888269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.889681"], ["updated_at", "2015-05-25 23:11:28.889681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:28.890990"], ["updated_at", "2015-05-25 23:11:28.890990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.893332"], ["updated_at", "2015-05-25 23:11:28.893332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 23:11:28.892256"], ["created_at", "2015-05-25 23:11:28.894989"], ["updated_at", "2015-05-25 23:11:28.894989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.897289"], ["updated_at", "2015-05-25 23:11:28.897289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 23:11:28.898639"], ["updated_at", "2015-05-25 23:11:28.898639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:28.899377"], ["updated_at", "2015-05-25 23:11:28.899699"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.902611"], ["updated_at", "2015-05-25 23:11:28.902611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:28.910211"], ["updated_at", "2015-05-25 23:11:28.910211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:28.912337"], ["updated_at", "2015-05-25 23:11:28.912337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:28.913769"], ["updated_at", "2015-05-25 23:11:28.913769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:30.761303"], ["updated_at", "2015-05-25 23:11:30.761303"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:30.813006"], ["updated_at", "2015-05-25 23:11:30.813006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:30.818688"], ["updated_at", "2015-05-25 23:11:30.820707"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:11:30.828907"], ["current_period_start", "2015-05-25 23:11:30.828907"], ["current_period_end", "2015-06-25 23:11:30.828907"], ["created_at", "2015-05-25 23:11:30.835947"], ["updated_at", "2015-05-25 23:11:30.835947"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/after_change_plan_success Completed 302 Found in 76ms (ActiveRecord: 3.2ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:30.871956"], ["updated_at", "2015-05-25 23:11:30.871956"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:30.890089"], ["updated_at", "2015-05-25 23:11:30.890089"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:30.902803"], ["updated_at", "2015-05-25 23:11:30.902803"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:31.616137"], ["updated_at", "2015-05-25 23:11:31.616137"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:31.649850"], ["updated_at", "2015-05-25 23:11:31.649850"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:31.659100"], ["updated_at", "2015-05-25 23:11:31.661653"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:11:31.665843"], ["current_period_start", "2015-05-25 23:11:31.665843"], ["current_period_end", "2015-06-25 23:11:31.665843"], ["created_at", "2015-05-25 23:11:31.676943"], ["updated_at", "2015-05-25 23:11:31.676943"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 59ms (ActiveRecord: 2.5ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:31.693556"], ["updated_at", "2015-05-25 23:11:31.693556"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:31.706644"], ["updated_at", "2015-05-25 23:11:31.706644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:31.717642"], ["updated_at", "2015-05-25 23:11:31.717642"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:32.251906"], ["updated_at", "2015-05-25 23:11:32.251906"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:32.291032"], ["updated_at", "2015-05-25 23:11:32.291032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:32.298145"], ["updated_at", "2015-05-25 23:11:32.300569"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:11:32.306048"], ["current_period_start", "2015-05-25 23:11:32.306048"], ["current_period_end", "2015-06-25 23:11:32.306048"], ["created_at", "2015-05-25 23:11:32.311323"], ["updated_at", "2015-05-25 23:11:32.311323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 52ms (ActiveRecord: 2.5ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:32.326380"], ["updated_at", "2015-05-25 23:11:32.326380"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:32.353195"], ["updated_at", "2015-05-25 23:11:32.353195"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 10ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:32.391726"], ["updated_at", "2015-05-25 23:11:32.391726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:32.411726"], ["updated_at", "2015-05-25 23:11:32.411726"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 12ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:32.441049"], ["updated_at", "2015-05-25 23:11:32.441049"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:32.462987"], ["updated_at", "2015-05-25 23:11:32.462987"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 5ms (ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:32.492180"], ["updated_at", "2015-05-25 23:11:32.492180"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 7ms (ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:32.563706"], ["updated_at", "2015-05-25 23:11:32.563706"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 7ms (ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:32.585493"], ["updated_at", "2015-05-25 23:11:32.585493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 7ms (ActiveRecord: 0.3ms)  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:32.613535"], ["updated_at", "2015-05-25 23:11:32.613535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 6ms (ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.5ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:32.642165"], ["updated_at", "2015-05-25 23:11:32.642165"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (5.5ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:32.663451"], ["updated_at", "2015-05-25 23:11:32.663451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 23:11:32.647425"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:32.674835"], ["updated_at", "2015-05-25 23:11:32.674835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 23:11:32.647425"], ["status", "generated"], ["created_at", "2015-05-25 23:11:32.699953"], ["updated_at", "2015-05-25 23:11:32.699953"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 23:11:32.647425"], ["current_period_end", "2015-06-24 23:11:32.647425"], ["updated_at", "2015-05-25 23:11:32.714693"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_after_success_path Completed 302 Found in 37ms (ActiveRecord: 1.7ms)  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:32.730188"], ["updated_at", "2015-05-25 23:11:32.730188"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:32.742464"], ["updated_at", "2015-05-25 23:11:32.742464"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 23:11:32.734342"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:32.755137"], ["updated_at", "2015-05-25 23:11:32.755137"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.2ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 23:11:32.734342"], ["status", "generated"], ["created_at", "2015-05-25 23:11:32.787066"], ["updated_at", "2015-05-25 23:11:32.787066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 23:11:32.734342"], ["current_period_end", "2015-06-24 23:11:32.734342"], ["updated_at", "2015-05-25 23:11:32.796194"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 32ms (ActiveRecord: 1.6ms)  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:32.816449"], ["updated_at", "2015-05-25 23:11:32.816449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:32.828795"], ["updated_at", "2015-05-25 23:11:32.828795"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 23:11:32.820867"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:32.840216"], ["updated_at", "2015-05-25 23:11:32.840216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.3ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (4.7ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 23:11:32.820867"], ["status", "generated"], ["created_at", "2015-05-25 23:11:32.872755"], ["updated_at", "2015-05-25 23:11:32.872755"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 23:11:32.820867"], ["current_period_end", "2015-06-24 23:11:32.820867"], ["updated_at", "2015-05-25 23:11:32.882472"], ["id", 1]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 39ms (ActiveRecord: 6.4ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:32.902456"], ["updated_at", "2015-05-25 23:11:32.902456"]]  (4.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:32.931142"], ["updated_at", "2015-05-25 23:11:32.931142"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:32.979727"], ["updated_at", "2015-05-25 23:11:32.979727"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:32.999344"], ["updated_at", "2015-05-25 23:11:32.999344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.027506"], ["updated_at", "2015-05-25 23:11:33.027506"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.048041"], ["updated_at", "2015-05-25 23:11:33.048041"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.084934"], ["updated_at", "2015-05-25 23:11:33.084934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.107400"], ["updated_at", "2015-05-25 23:11:33.107400"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (4.5ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.4ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.134347"], ["updated_at", "2015-05-25 23:11:33.134347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.152166"], ["updated_at", "2015-05-25 23:11:33.152166"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.174257"], ["updated_at", "2015-05-25 23:11:33.174257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-49') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-49"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.198977"], ["updated_at", "2015-05-25 23:11:33.198977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-50') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-50"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.219351"], ["updated_at", "2015-05-25 23:11:33.219351"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-51') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-51"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.242946"], ["updated_at", "2015-05-25 23:11:33.242946"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-52') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-52"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.263213"], ["updated_at", "2015-05-25 23:11:33.263213"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.287602"], ["updated_at", "2015-05-25 23:11:33.287602"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.305740"], ["updated_at", "2015-05-25 23:11:33.305740"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.319547"], ["updated_at", "2015-05-25 23:11:33.319547"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.336467"], ["updated_at", "2015-05-25 23:11:33.336467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1  (0.3ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.504182"], ["updated_at", "2015-05-25 23:11:33.504182"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.3ms) rollback transaction  (0.2ms) begin transaction Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 23:11:33.557842"], ["updated_at", "2015-05-25 23:11:33.557842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 23:11:33.571084"], ["updated_at", "2015-05-25 23:11:33.571084"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.588063"], ["updated_at", "2015-05-25 23:11:33.588063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.3ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:33.602001"], ["updated_at", "2015-05-25 23:11:33.602001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.612155"], ["updated_at", "2015-05-25 23:11:33.612155"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (4.5ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.631552"], ["updated_at", "2015-05-25 23:11:33.631552"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:33.643878"], ["updated_at", "2015-05-25 23:11:33.643878"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:33.667061"], ["updated_at", "2015-05-25 23:11:33.667061"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:33.677744"], ["updated_at", "2015-05-25 23:11:33.685294"], ["id", 1]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:33.698061"], ["updated_at", "2015-05-25 23:11:33.698061"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.708000"], ["updated_at", "2015-05-25 23:11:33.708000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.722601"], ["updated_at", "2015-05-25 23:11:33.722601"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:33.740890"], ["updated_at", "2015-05-25 23:11:33.740890"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.6ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.6ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.8ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:33.781365"], ["updated_at", "2015-05-25 23:11:33.781365"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:33.797305"], ["updated_at", "2015-05-25 23:11:33.803702"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:33.859652"], ["updated_at", "2015-05-25 23:11:33.859652"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.871514"], ["updated_at", "2015-05-25 23:11:33.871514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:11:28.448822"], ["owner_id", 1], ["created_at", "2015-05-25 23:11:33.887677"], ["updated_at", "2015-05-25 23:11:33.887677"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:33.902826"], ["updated_at", "2015-05-25 23:11:33.902826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.915262"], ["updated_at", "2015-05-25 23:11:33.915262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:33.931307"], ["updated_at", "2015-05-25 23:11:33.931307"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:33.948249"], ["updated_at", "2015-05-25 23:11:33.948249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.960456"], ["updated_at", "2015-05-25 23:11:33.960456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:11:28.448822"], ["owner_id", 1], ["created_at", "2015-05-25 23:11:33.973633"], ["updated_at", "2015-05-25 23:11:33.973633"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:33.992713"], ["updated_at", "2015-05-25 23:11:33.992713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 23:11:33.984582"], ["owner_id", 1], ["created_at", "2015-05-25 23:11:34.003553"], ["updated_at", "2015-05-25 23:11:34.003553"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:34.020162"], ["updated_at", "2015-05-25 23:11:34.020162"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:34.036487"], ["updated_at", "2015-05-25 23:11:34.036487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:34.048153"], ["updated_at", "2015-05-25 23:11:34.048153"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:34.064777"], ["updated_at", "2015-05-25 23:11:34.064777"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.4ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:34.078864"], ["updated_at", "2015-05-25 23:11:34.078864"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:11:28.448822"], ["owner_id", 1], ["created_at", "2015-05-25 23:11:34.094287"], ["updated_at", "2015-05-25 23:11:34.094287"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:34.108730"], ["updated_at", "2015-05-25 23:11:34.108730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:34.120064"], ["updated_at", "2015-05-25 23:11:34.120064"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:34.137378"], ["updated_at", "2015-05-25 23:11:34.137378"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:34.149165"], ["updated_at", "2015-05-25 23:11:34.149165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:34.171003"], ["updated_at", "2015-05-25 23:11:34.171003"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (3.8ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:34.196864"], ["updated_at", "2015-05-25 23:11:34.196864"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.3ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:34.225410"], ["updated_at", "2015-05-25 23:11:34.225410"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 23:11:34.216505"], ["created_at", "2015-05-25 23:11:34.241264"], ["updated_at", "2015-05-25 23:11:34.241264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (4.7ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 23:11:34.505418"], ["updated_at", "2015-05-25 23:11:34.505418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-99') LIMIT 1 SQL (0.3ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-99"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:34.517431"], ["updated_at", "2015-05-25 23:11:34.517431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:11:34.523645"], ["current_period_start", "2015-05-25 23:11:34.523645"], ["current_period_end", "2015-06-25 23:11:34.523645"], ["created_at", "2015-05-25 23:11:34.528353"], ["updated_at", "2015-05-25 23:11:34.528353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.230968"], ["updated_at", "2015-05-25 23:11:56.230968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.243741"], ["updated_at", "2015-05-25 23:11:56.243741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.251970"], ["updated_at", "2015-05-25 23:11:56.251970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.256893"], ["updated_at", "2015-05-25 23:11:56.256893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.260152"], ["updated_at", "2015-05-25 23:11:56.260152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.263109"], ["updated_at", "2015-05-25 23:11:56.263109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.265963"], ["updated_at", "2015-05-25 23:11:56.265963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.269167"], ["updated_at", "2015-05-25 23:11:56.269167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.273536"], ["updated_at", "2015-05-25 23:11:56.273536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.276352"], ["updated_at", "2015-05-25 23:11:56.276352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.279072"], ["updated_at", "2015-05-25 23:11:56.279072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.282713"], ["updated_at", "2015-05-25 23:11:56.282713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.285282"], ["updated_at", "2015-05-25 23:11:56.285282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.288226"], ["updated_at", "2015-05-25 23:11:56.288226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.290975"], ["updated_at", "2015-05-25 23:11:56.290975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.293179"], ["updated_at", "2015-05-25 23:11:56.293179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.330469"], ["updated_at", "2015-05-25 23:11:56.330469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 23:11:56.333334"], ["updated_at", "2015-05-25 23:11:56.333334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:56.334397"], ["updated_at", "2015-05-25 23:11:56.334776"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.339892"], ["updated_at", "2015-05-25 23:11:56.339892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 23:11:56.338490"], ["created_at", "2015-05-25 23:11:56.341286"], ["updated_at", "2015-05-25 23:11:56.341286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.347594"], ["updated_at", "2015-05-25 23:11:56.347594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 23:11:56.367755"], ["updated_at", "2015-05-25 23:11:56.367755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 23:11:56.369637"], ["updated_at", "2015-05-25 23:11:56.369637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.371778"], ["updated_at", "2015-05-25 23:11:56.371778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.376719"], ["updated_at", "2015-05-25 23:11:56.376719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.378186"], ["updated_at", "2015-05-25 23:11:56.378186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.379495"], ["updated_at", "2015-05-25 23:11:56.379495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.2ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.386767"], ["updated_at", "2015-05-25 23:11:56.386767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.396031"], ["updated_at", "2015-05-25 23:11:56.396031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.408404"], ["updated_at", "2015-05-25 23:11:56.408404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.414179"], ["updated_at", "2015-05-25 23:11:56.414179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.417399"], ["updated_at", "2015-05-25 23:11:56.417399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.422173"], ["updated_at", "2015-05-25 23:11:56.422173"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.425537"], ["updated_at", "2015-05-25 23:11:56.425537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.430234"], ["updated_at", "2015-05-25 23:11:56.430234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.432354"], ["updated_at", "2015-05-25 23:11:56.432354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.434599"], ["updated_at", "2015-05-25 23:11:56.434599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.437926"], ["updated_at", "2015-05-25 23:11:56.437926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.449620"], ["updated_at", "2015-05-25 23:11:56.449620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:56.450747"], ["updated_at", "2015-05-25 23:11:56.451193"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:11:56.452286"], ["current_period_start", "2015-05-25 23:11:56.452286"], ["current_period_end", "2015-06-25 23:11:56.452286"], ["created_at", "2015-05-25 23:11:56.453608"], ["updated_at", "2015-05-25 23:11:56.453608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 17ms (ActiveRecord: 1.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.458025"], ["updated_at", "2015-05-25 23:11:56.458025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.460778"], ["updated_at", "2015-05-25 23:11:56.460778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.462791"], ["updated_at", "2015-05-25 23:11:56.462791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.469682"], ["updated_at", "2015-05-25 23:11:56.469682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.4ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.477358"], ["updated_at", "2015-05-25 23:11:56.477358"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:56.479003"], ["updated_at", "2015-05-25 23:11:56.479386"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:11:56.480413"], ["current_period_start", "2015-05-25 23:11:56.480413"], ["current_period_end", "2015-06-25 23:11:56.480413"], ["created_at", "2015-05-25 23:11:56.481383"], ["updated_at", "2015-05-25 23:11:56.481383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 11ms (ActiveRecord: 1.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.485467"], ["updated_at", "2015-05-25 23:11:56.485467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.488837"], ["updated_at", "2015-05-25 23:11:56.488837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.491276"], ["updated_at", "2015-05-25 23:11:56.491276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.496564"], ["updated_at", "2015-05-25 23:11:56.496564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.4ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.505222"], ["updated_at", "2015-05-25 23:11:56.505222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:56.506850"], ["updated_at", "2015-05-25 23:11:56.507754"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:11:56.508757"], ["current_period_start", "2015-05-25 23:11:56.508757"], ["current_period_end", "2015-06-25 23:11:56.508757"], ["created_at", "2015-05-25 23:11:56.509732"], ["updated_at", "2015-05-25 23:11:56.509732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/after_change_plan_success Completed 302 Found in 11ms (ActiveRecord: 1.8ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.5ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.516154"], ["updated_at", "2015-05-25 23:11:56.516154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 23:11:56.513330"], ["created_at", "2015-05-25 23:11:56.518446"], ["updated_at", "2015-05-25 23:11:56.518446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.533146"], ["updated_at", "2015-05-25 23:11:56.533146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-56') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-56"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.537247"], ["updated_at", "2015-05-25 23:11:56.537247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 23:11:56.540754"], ["updated_at", "2015-05-25 23:11:56.540754"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.543395"], ["updated_at", "2015-05-25 23:11:56.543395"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:11:56.545041"], ["current_period_start", "2015-05-25 23:11:56.545041"], ["current_period_end", "2015-06-25 23:11:56.545041"], ["created_at", "2015-05-25 23:11:56.545879"], ["updated_at", "2015-05-25 23:11:56.545879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.548193"], ["updated_at", "2015-05-25 23:11:56.548193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.550073"], ["updated_at", "2015-05-25 23:11:56.550073"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.560157"], ["updated_at", "2015-05-25 23:11:56.560157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:11:56.024076"], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.561665"], ["updated_at", "2015-05-25 23:11:56.561665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.563734"], ["updated_at", "2015-05-25 23:11:56.563734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.565096"], ["updated_at", "2015-05-25 23:11:56.565096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.566818"], ["updated_at", "2015-05-25 23:11:56.566818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.568098"], ["updated_at", "2015-05-25 23:11:56.568098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.570188"], ["updated_at", "2015-05-25 23:11:56.570188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.571764"], ["updated_at", "2015-05-25 23:11:56.571764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.573581"], ["updated_at", "2015-05-25 23:11:56.573581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.578273"], ["updated_at", "2015-05-25 23:11:56.578273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 23:11:56.579557"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.581275"], ["updated_at", "2015-05-25 23:11:56.581275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.583171"], ["updated_at", "2015-05-25 23:11:56.583171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.584480"], ["updated_at", "2015-05-25 23:11:56.584480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.587070"], ["updated_at", "2015-05-25 23:11:56.587070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:11:56.588249"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.589736"], ["updated_at", "2015-05-25 23:11:56.589736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.591562"], ["updated_at", "2015-05-25 23:11:56.591562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.593215"], ["updated_at", "2015-05-25 23:11:56.593215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.596037"], ["updated_at", "2015-05-25 23:11:56.596037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 23:11:56.597248"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.598752"], ["updated_at", "2015-05-25 23:11:56.598752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.600311"], ["updated_at", "2015-05-25 23:11:56.600311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.602132"], ["updated_at", "2015-05-25 23:11:56.602132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.604531"], ["updated_at", "2015-05-25 23:11:56.604531"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:11:56.606253"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.609033"], ["updated_at", "2015-05-25 23:11:56.609033"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.610957"], ["updated_at", "2015-05-25 23:11:56.610957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.612650"], ["updated_at", "2015-05-25 23:11:56.612650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.615061"], ["updated_at", "2015-05-25 23:11:56.615061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 23:11:56.616334"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.618572"], ["updated_at", "2015-05-25 23:11:56.618572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.620478"], ["updated_at", "2015-05-25 23:11:56.620478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.621922"], ["updated_at", "2015-05-25 23:11:56.621922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.624425"], ["updated_at", "2015-05-25 23:11:56.624425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:11:56.625559"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.627346"], ["updated_at", "2015-05-25 23:11:56.627346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.629213"], ["updated_at", "2015-05-25 23:11:56.629213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.630636"], ["updated_at", "2015-05-25 23:11:56.630636"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.633049"], ["updated_at", "2015-05-25 23:11:56.633049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:11:56.634196"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.637011"], ["updated_at", "2015-05-25 23:11:56.637011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.638688"], ["updated_at", "2015-05-25 23:11:56.638688"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.640308"], ["updated_at", "2015-05-25 23:11:56.640308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.641711"], ["updated_at", "2015-05-25 23:11:56.641711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.644707"], ["updated_at", "2015-05-25 23:11:56.644707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:56.645714"], ["updated_at", "2015-05-25 23:11:56.646178"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.648634"], ["updated_at", "2015-05-25 23:11:56.648634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.650302"], ["updated_at", "2015-05-25 23:11:56.650302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.652124"], ["updated_at", "2015-05-25 23:11:56.652124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.653387"], ["updated_at", "2015-05-25 23:11:56.653387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.656150"], ["updated_at", "2015-05-25 23:11:56.656150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:56.657405"], ["updated_at", "2015-05-25 23:11:56.658271"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.662960"], ["updated_at", "2015-05-25 23:11:56.662960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:11:56.024076"], ["created_at", "2015-05-25 23:11:56.664777"], ["updated_at", "2015-05-25 23:11:56.664777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:56.666930"], ["updated_at", "2015-05-25 23:11:56.666930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.669179"], ["updated_at", "2015-05-25 23:11:56.669179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.670746"], ["updated_at", "2015-05-25 23:11:56.670746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.672237"], ["updated_at", "2015-05-25 23:11:56.672237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:56.673822"], ["updated_at", "2015-05-25 23:11:56.673822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.675686"], ["updated_at", "2015-05-25 23:11:56.675686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.677492"], ["updated_at", "2015-05-25 23:11:56.677492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.679128"], ["updated_at", "2015-05-25 23:11:56.679128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:56.680744"], ["updated_at", "2015-05-25 23:11:56.680744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.682701"], ["updated_at", "2015-05-25 23:11:56.682701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-26 02:11:56.681361"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.684098"], ["updated_at", "2015-05-25 23:11:56.684098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-26 02:11:56.681361"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.685574"], ["updated_at", "2015-05-25 23:11:56.685574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.687623"], ["updated_at", "2015-05-25 23:11:56.687623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:56.688528"], ["updated_at", "2015-05-25 23:11:56.688528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.690213"], ["updated_at", "2015-05-25 23:11:56.690213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.691472"], ["updated_at", "2015-05-25 23:11:56.691472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:56.692927"], ["updated_at", "2015-05-25 23:11:56.692927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.694860"], ["updated_at", "2015-05-25 23:11:56.694860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 20:11:56.693680"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.696458"], ["updated_at", "2015-05-25 23:11:56.696458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 20:11:56.693680"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.698415"], ["updated_at", "2015-05-25 23:11:56.698415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:56.700752"], ["updated_at", "2015-05-25 23:11:56.700752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.702928"], ["updated_at", "2015-05-25 23:11:56.702928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.704483"], ["updated_at", "2015-05-25 23:11:56.704483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.705970"], ["updated_at", "2015-05-25 23:11:56.705970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:56.707538"], ["updated_at", "2015-05-25 23:11:56.707538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.709342"], ["updated_at", "2015-05-25 23:11:56.709342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.710845"], ["updated_at", "2015-05-25 23:11:56.710845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.712163"], ["updated_at", "2015-05-25 23:11:56.712163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:56.713735"], ["updated_at", "2015-05-25 23:11:56.713735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.715828"], ["updated_at", "2015-05-25 23:11:56.715828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.717331"], ["updated_at", "2015-05-25 23:11:56.717331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.718871"], ["updated_at", "2015-05-25 23:11:56.718871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.721067"], ["updated_at", "2015-05-25 23:11:56.721067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:11:56.722107"], ["updated_at", "2015-05-25 23:11:56.722107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.723879"], ["updated_at", "2015-05-25 23:11:56.723879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.725233"], ["updated_at", "2015-05-25 23:11:56.725233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.727165"], ["updated_at", "2015-05-25 23:11:56.727165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.728855"], ["updated_at", "2015-05-25 23:11:56.728855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.730531"], ["updated_at", "2015-05-25 23:11:56.730531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.732096"], ["updated_at", "2015-05-25 23:11:56.732096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.735070"], ["updated_at", "2015-05-25 23:11:56.735070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:56.735851"], ["updated_at", "2015-05-25 23:11:56.736224"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:11:56.736848"], ["current_period_start", "2015-05-25 23:11:56.736848"], ["current_period_end", "2015-06-25 23:11:56.736848"], ["created_at", "2015-05-25 23:11:56.737392"], ["updated_at", "2015-05-25 23:11:56.737392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.739355"], ["updated_at", "2015-05-25 23:11:56.739355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.740756"], ["updated_at", "2015-05-25 23:11:56.740756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.742502"], ["updated_at", "2015-05-25 23:11:56.742502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.743777"], ["updated_at", "2015-05-25 23:11:56.743777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.746269"], ["updated_at", "2015-05-25 23:11:56.746269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:56.747071"], ["updated_at", "2015-05-25 23:11:56.747441"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:11:56.748060"], ["current_period_start", "2015-05-25 23:11:56.748060"], ["current_period_end", "2015-06-25 23:11:56.748060"], ["created_at", "2015-05-25 23:11:56.748760"], ["updated_at", "2015-05-25 23:11:56.748760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.751702"], ["updated_at", "2015-05-25 23:11:56.751702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.753955"], ["updated_at", "2015-05-25 23:11:56.753955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.756165"], ["updated_at", "2015-05-25 23:11:56.756165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.757962"], ["updated_at", "2015-05-25 23:11:56.757962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.761110"], ["updated_at", "2015-05-25 23:11:56.761110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:11:56.762086"], ["updated_at", "2015-05-25 23:11:56.762514"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:11:56.763227"], ["current_period_start", "2015-05-25 23:11:56.763227"], ["current_period_end", "2015-06-25 23:11:56.763227"], ["created_at", "2015-05-25 23:11:56.763828"], ["updated_at", "2015-05-25 23:11:56.763828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.766018"], ["updated_at", "2015-05-25 23:11:56.766018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.767666"], ["updated_at", "2015-05-25 23:11:56.767666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:11:56.769214"], ["current_period_start", "2015-05-25 23:11:56.769214"], ["current_period_end", "2015-06-25 23:11:56.769214"], ["created_at", "2015-05-25 23:11:56.769970"], ["updated_at", "2015-05-25 23:11:56.769970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.772138"], ["updated_at", "2015-05-25 23:11:56.772138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.773665"], ["updated_at", "2015-05-25 23:11:56.773665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:11:56.774869"], ["current_period_start", "2015-05-25 23:11:56.774869"], ["current_period_end", "2015-06-25 23:11:56.774869"], ["created_at", "2015-05-25 23:11:56.775514"], ["updated_at", "2015-05-25 23:11:56.775514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.777124"], ["updated_at", "2015-05-25 23:11:56.777124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.778766"], ["updated_at", "2015-05-25 23:11:56.778766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.780541"], ["updated_at", "2015-05-25 23:11:56.780541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.782137"], ["updated_at", "2015-05-25 23:11:56.782137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.784007"], ["updated_at", "2015-05-25 23:11:56.784007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.785695"], ["updated_at", "2015-05-25 23:11:56.785695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:11:56.024076"], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.787082"], ["updated_at", "2015-05-25 23:11:56.787082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.791842"], ["updated_at", "2015-05-25 23:11:56.791842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.794084"], ["updated_at", "2015-05-25 23:11:56.794084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.795627"], ["updated_at", "2015-05-25 23:11:56.795627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.797655"], ["updated_at", "2015-05-25 23:11:56.797655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-93') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-93"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.799364"], ["updated_at", "2015-05-25 23:11:56.799364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:11:56.024076"], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.800898"], ["updated_at", "2015-05-25 23:11:56.800898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-94') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-94"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.802811"], ["updated_at", "2015-05-25 23:11:56.802811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 23:11:56.801619"], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.804116"], ["updated_at", "2015-05-25 23:11:56.804116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.806199"], ["updated_at", "2015-05-25 23:11:56.806199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-95') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-95"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.808037"], ["updated_at", "2015-05-25 23:11:56.808037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.809544"], ["updated_at", "2015-05-25 23:11:56.809544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.811951"], ["updated_at", "2015-05-25 23:11:56.811951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-96') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-96"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.813622"], ["updated_at", "2015-05-25 23:11:56.813622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:11:56.024076"], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.815065"], ["updated_at", "2015-05-25 23:11:56.815065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.821614"], ["updated_at", "2015-05-25 23:11:56.821614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.825390"], ["updated_at", "2015-05-25 23:11:56.825390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-97') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-97"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.827450"], ["updated_at", "2015-05-25 23:11:56.827450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 23:11:56.826174"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.828933"], ["updated_at", "2015-05-25 23:11:56.828933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 23:11:56.826174"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.833407"], ["updated_at", "2015-05-25 23:11:56.833407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 23:11:56.826174"], ["current_period_end", "2015-06-24 23:11:56.826174"], ["updated_at", "2015-05-25 23:11:56.834713"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 5ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.837066"], ["updated_at", "2015-05-25 23:11:56.837066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-98') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-98"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.839512"], ["updated_at", "2015-05-25 23:11:56.839512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 23:11:56.837682"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.841516"], ["updated_at", "2015-05-25 23:11:56.841516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 23:11:56.837682"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.845595"], ["updated_at", "2015-05-25 23:11:56.845595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 23:11:56.837682"], ["current_period_end", "2015-06-24 23:11:56.837682"], ["updated_at", "2015-05-25 23:11:56.846894"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.850133"], ["updated_at", "2015-05-25 23:11:56.850133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-99') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-99"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:11:56.853046"], ["updated_at", "2015-05-25 23:11:56.853046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 23:11:56.851228"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:11:56.854651"], ["updated_at", "2015-05-25 23:11:56.854651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 23:11:56.851228"], ["status", "generated"], ["created_at", "2015-05-25 23:11:56.858700"], ["updated_at", "2015-05-25 23:11:56.858700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 23:11:56.851228"], ["current_period_end", "2015-06-24 23:11:56.851228"], ["updated_at", "2015-05-25 23:11:56.860118"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_after_success_path Completed 302 Found in 5ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.862858"], ["updated_at", "2015-05-25 23:11:56.862858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.866248"], ["updated_at", "2015-05-25 23:11:56.866248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:11:56.870064"], ["updated_at", "2015-05-25 23:11:56.870064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 23:12:17.084541"], ["updated_at", "2015-05-25 23:12:17.084541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 23:12:17.086627"], ["updated_at", "2015-05-25 23:12:17.086627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.088012"], ["updated_at", "2015-05-25 23:12:17.088012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.094023"], ["updated_at", "2015-05-25 23:12:17.094023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.096405"], ["updated_at", "2015-05-25 23:12:17.096405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.098156"], ["updated_at", "2015-05-25 23:12:17.098156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.115821"], ["updated_at", "2015-05-25 23:12:17.115821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.130967"], ["updated_at", "2015-05-25 23:12:17.130967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-25"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.132887"], ["updated_at", "2015-05-25 23:12:17.132887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-26"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.138659"], ["updated_at", "2015-05-25 23:12:17.138659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.150192"], ["updated_at", "2015-05-25 23:12:17.150192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.157204"], ["updated_at", "2015-05-25 23:12:17.157204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-27"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.159187"], ["updated_at", "2015-05-25 23:12:17.159187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-28"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.161258"], ["updated_at", "2015-05-25 23:12:17.161258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:12:16.877058"], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.162925"], ["updated_at", "2015-05-25 23:12:17.162925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.165373"], ["updated_at", "2015-05-25 23:12:17.165373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-29"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.167337"], ["updated_at", "2015-05-25 23:12:17.167337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.168993"], ["updated_at", "2015-05-25 23:12:17.168993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.177854"], ["updated_at", "2015-05-25 23:12:17.177854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:12:17.179155"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.181857"], ["updated_at", "2015-05-25 23:12:17.181857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-30"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.184199"], ["updated_at", "2015-05-25 23:12:17.184199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.187201"], ["updated_at", "2015-05-25 23:12:17.187201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.190048"], ["updated_at", "2015-05-25 23:12:17.190048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:12:17.191172"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.193588"], ["updated_at", "2015-05-25 23:12:17.193588"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-31"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.195250"], ["updated_at", "2015-05-25 23:12:17.195250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.196906"], ["updated_at", "2015-05-25 23:12:17.196906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.199430"], ["updated_at", "2015-05-25 23:12:17.199430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 23:12:17.200517"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.202075"], ["updated_at", "2015-05-25 23:12:17.202075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-32"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.204035"], ["updated_at", "2015-05-25 23:12:17.204035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.205665"], ["updated_at", "2015-05-25 23:12:17.205665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.208163"], ["updated_at", "2015-05-25 23:12:17.208163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:12:17.209372"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.210913"], ["updated_at", "2015-05-25 23:12:17.210913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-33"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.212698"], ["updated_at", "2015-05-25 23:12:17.212698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.213962"], ["updated_at", "2015-05-25 23:12:17.213962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.216844"], ["updated_at", "2015-05-25 23:12:17.216844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 23:12:17.218039"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.219829"], ["updated_at", "2015-05-25 23:12:17.219829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-34"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.221400"], ["updated_at", "2015-05-25 23:12:17.221400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.223168"], ["updated_at", "2015-05-25 23:12:17.223168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.225851"], ["updated_at", "2015-05-25 23:12:17.225851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 23:12:17.228210"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.229915"], ["updated_at", "2015-05-25 23:12:17.229915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-35"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.231425"], ["updated_at", "2015-05-25 23:12:17.231425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.233168"], ["updated_at", "2015-05-25 23:12:17.233168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.235751"], ["updated_at", "2015-05-25 23:12:17.235751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:12:17.237055"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.240038"], ["updated_at", "2015-05-25 23:12:17.240038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-36"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.241857"], ["updated_at", "2015-05-25 23:12:17.241857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.243208"], ["updated_at", "2015-05-25 23:12:17.243208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.245120"], ["updated_at", "2015-05-25 23:12:17.245120"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.247823"], ["updated_at", "2015-05-25 23:12:17.247823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:12:16.877058"], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.249303"], ["updated_at", "2015-05-25 23:12:17.249303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.251402"], ["updated_at", "2015-05-25 23:12:17.251402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.253050"], ["updated_at", "2015-05-25 23:12:17.253050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.254811"], ["updated_at", "2015-05-25 23:12:17.254811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:12:16.877058"], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.256561"], ["updated_at", "2015-05-25 23:12:17.256561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.258922"], ["updated_at", "2015-05-25 23:12:17.258922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 23:12:17.257449"], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.260610"], ["updated_at", "2015-05-25 23:12:17.260610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.263000"], ["updated_at", "2015-05-25 23:12:17.263000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.264977"], ["updated_at", "2015-05-25 23:12:17.264977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.266549"], ["updated_at", "2015-05-25 23:12:17.266549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.270010"], ["updated_at", "2015-05-25 23:12:17.270010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.272098"], ["updated_at", "2015-05-25 23:12:17.272098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:12:16.877058"], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.273593"], ["updated_at", "2015-05-25 23:12:17.273593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.275700"], ["updated_at", "2015-05-25 23:12:17.275700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.277880"], ["updated_at", "2015-05-25 23:12:17.277880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.279332"], ["updated_at", "2015-05-25 23:12:17.279332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.284230"], ["updated_at", "2015-05-25 23:12:17.284230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 23:12:17.283124"], ["created_at", "2015-05-25 23:12:17.285508"], ["updated_at", "2015-05-25 23:12:17.285508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.288428"], ["updated_at", "2015-05-25 23:12:17.288428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 23:12:17.289765"], ["updated_at", "2015-05-25 23:12:17.289765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:12:17.290524"], ["updated_at", "2015-05-25 23:12:17.290826"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.292962"], ["updated_at", "2015-05-25 23:12:17.292962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.300379"], ["updated_at", "2015-05-25 23:12:17.300379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.309470"], ["updated_at", "2015-05-25 23:12:17.309470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.313885"], ["updated_at", "2015-05-25 23:12:17.313885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.316907"], ["updated_at", "2015-05-25 23:12:17.316907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.318868"], ["updated_at", "2015-05-25 23:12:17.318868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 23:12:17.317476"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.320444"], ["updated_at", "2015-05-25 23:12:17.320444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 23:12:17.317476"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.323647"], ["updated_at", "2015-05-25 23:12:17.323647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 23:12:17.317476"], ["current_period_end", "2015-06-24 23:12:17.317476"], ["updated_at", "2015-05-25 23:12:17.324920"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.328191"], ["updated_at", "2015-05-25 23:12:17.328191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.330233"], ["updated_at", "2015-05-25 23:12:17.330233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 23:12:17.328931"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.331612"], ["updated_at", "2015-05-25 23:12:17.331612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 23:12:17.328931"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.334877"], ["updated_at", "2015-05-25 23:12:17.334877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 23:12:17.328931"], ["current_period_end", "2015-06-24 23:12:17.328931"], ["updated_at", "2015-05-25 23:12:17.336163"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_after_success_path Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.339207"], ["updated_at", "2015-05-25 23:12:17.339207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.341152"], ["updated_at", "2015-05-25 23:12:17.341152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 23:12:17.339898"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.342583"], ["updated_at", "2015-05-25 23:12:17.342583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 23:12:17.339898"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.346061"], ["updated_at", "2015-05-25 23:12:17.346061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 23:12:17.339898"], ["current_period_end", "2015-06-24 23:12:17.339898"], ["updated_at", "2015-05-25 23:12:17.347247"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-53') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-53"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.355504"], ["updated_at", "2015-05-25 23:12:17.355504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.358622"], ["updated_at", "2015-05-25 23:12:17.358622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-57') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-57"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.364652"], ["updated_at", "2015-05-25 23:12:17.364652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 23:12:17.363587"], ["created_at", "2015-05-25 23:12:17.366072"], ["updated_at", "2015-05-25 23:12:17.366072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.393199"], ["updated_at", "2015-05-25 23:12:17.393199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:12:16.877058"], ["created_at", "2015-05-25 23:12:17.394829"], ["updated_at", "2015-05-25 23:12:17.394829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:12:17.396482"], ["updated_at", "2015-05-25 23:12:17.396482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.398259"], ["updated_at", "2015-05-25 23:12:17.398259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.400242"], ["updated_at", "2015-05-25 23:12:17.400242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.401693"], ["updated_at", "2015-05-25 23:12:17.401693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.404077"], ["updated_at", "2015-05-25 23:12:17.404077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:12:17.405065"], ["updated_at", "2015-05-25 23:12:17.405065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.406868"], ["updated_at", "2015-05-25 23:12:17.406868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.408248"], ["updated_at", "2015-05-25 23:12:17.408248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:12:17.410110"], ["updated_at", "2015-05-25 23:12:17.410110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.411939"], ["updated_at", "2015-05-25 23:12:17.411939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.413277"], ["updated_at", "2015-05-25 23:12:17.413277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.414585"], ["updated_at", "2015-05-25 23:12:17.414585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:12:17.416079"], ["updated_at", "2015-05-25 23:12:17.416079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.417615"], ["updated_at", "2015-05-25 23:12:17.417615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.418945"], ["updated_at", "2015-05-25 23:12:17.418945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.420321"], ["updated_at", "2015-05-25 23:12:17.420321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.422406"], ["updated_at", "2015-05-25 23:12:17.422406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:12:17.423308"], ["updated_at", "2015-05-25 23:12:17.423308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.424862"], ["updated_at", "2015-05-25 23:12:17.424862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.426105"], ["updated_at", "2015-05-25 23:12:17.426105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:12:17.427471"], ["updated_at", "2015-05-25 23:12:17.427471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.429616"], ["updated_at", "2015-05-25 23:12:17.429616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 20:12:17.428052"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.432500"], ["updated_at", "2015-05-25 23:12:17.432500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 20:12:17.428052"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.434091"], ["updated_at", "2015-05-25 23:12:17.434091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:12:17.435582"], ["updated_at", "2015-05-25 23:12:17.435582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.437377"], ["updated_at", "2015-05-25 23:12:17.437377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-26 02:12:17.436206"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.438713"], ["updated_at", "2015-05-25 23:12:17.438713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-26 02:12:17.436206"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.440027"], ["updated_at", "2015-05-25 23:12:17.440027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:12:17.441601"], ["updated_at", "2015-05-25 23:12:17.441601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.443196"], ["updated_at", "2015-05-25 23:12:17.443196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.444523"], ["updated_at", "2015-05-25 23:12:17.444523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.445753"], ["updated_at", "2015-05-25 23:12:17.445753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:12:17.447143"], ["updated_at", "2015-05-25 23:12:17.447143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.448971"], ["updated_at", "2015-05-25 23:12:17.448971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.450630"], ["updated_at", "2015-05-25 23:12:17.450630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.452505"], ["updated_at", "2015-05-25 23:12:17.452505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 23:12:17.454201"], ["updated_at", "2015-05-25 23:12:17.454201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.456097"], ["updated_at", "2015-05-25 23:12:17.456097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:12:17.456927"], ["current_period_start", "2015-05-25 23:12:17.456927"], ["current_period_end", "2015-06-25 23:12:17.456927"], ["created_at", "2015-05-25 23:12:17.457650"], ["updated_at", "2015-05-25 23:12:17.457650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.460084"], ["updated_at", "2015-05-25 23:12:17.460084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.462128"], ["updated_at", "2015-05-25 23:12:17.462128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.464428"], ["updated_at", "2015-05-25 23:12:17.464428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.465905"], ["updated_at", "2015-05-25 23:12:17.465905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.468717"], ["updated_at", "2015-05-25 23:12:17.468717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:12:17.469688"], ["updated_at", "2015-05-25 23:12:17.470096"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.473024"], ["updated_at", "2015-05-25 23:12:17.473024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.474825"], ["updated_at", "2015-05-25 23:12:17.474825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.476550"], ["updated_at", "2015-05-25 23:12:17.476550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.477962"], ["updated_at", "2015-05-25 23:12:17.477962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.480934"], ["updated_at", "2015-05-25 23:12:17.480934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:12:17.481917"], ["updated_at", "2015-05-25 23:12:17.482344"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.484542"], ["updated_at", "2015-05-25 23:12:17.484542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.486125"], ["updated_at", "2015-05-25 23:12:17.486125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:12:17.487180"], ["current_period_start", "2015-05-25 23:12:17.487180"], ["current_period_end", "2015-06-25 23:12:17.487180"], ["created_at", "2015-05-25 23:12:17.487743"], ["updated_at", "2015-05-25 23:12:17.487743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.489352"], ["updated_at", "2015-05-25 23:12:17.489352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.491241"], ["updated_at", "2015-05-25 23:12:17.491241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:12:17.492385"], ["current_period_start", "2015-05-25 23:12:17.492385"], ["current_period_end", "2015-06-25 23:12:17.492385"], ["created_at", "2015-05-25 23:12:17.492977"], ["updated_at", "2015-05-25 23:12:17.492977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.494981"], ["updated_at", "2015-05-25 23:12:17.494981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.496291"], ["updated_at", "2015-05-25 23:12:17.496291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.498337"], ["updated_at", "2015-05-25 23:12:17.498337"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.499735"], ["updated_at", "2015-05-25 23:12:17.499735"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.502306"], ["updated_at", "2015-05-25 23:12:17.502306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:12:17.503169"], ["updated_at", "2015-05-25 23:12:17.503534"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:12:17.504146"], ["current_period_start", "2015-05-25 23:12:17.504146"], ["current_period_end", "2015-06-25 23:12:17.504146"], ["created_at", "2015-05-25 23:12:17.504659"], ["updated_at", "2015-05-25 23:12:17.504659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.506583"], ["updated_at", "2015-05-25 23:12:17.506583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.508045"], ["updated_at", "2015-05-25 23:12:17.508045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.509706"], ["updated_at", "2015-05-25 23:12:17.509706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.510975"], ["updated_at", "2015-05-25 23:12:17.510975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.514860"], ["updated_at", "2015-05-25 23:12:17.514860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:12:17.516039"], ["updated_at", "2015-05-25 23:12:17.516452"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:12:17.517122"], ["current_period_start", "2015-05-25 23:12:17.517122"], ["current_period_end", "2015-06-25 23:12:17.517122"], ["created_at", "2015-05-25 23:12:17.517675"], ["updated_at", "2015-05-25 23:12:17.517675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.520156"], ["updated_at", "2015-05-25 23:12:17.520156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.521981"], ["updated_at", "2015-05-25 23:12:17.521981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.523661"], ["updated_at", "2015-05-25 23:12:17.523661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.525011"], ["updated_at", "2015-05-25 23:12:17.525011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.527528"], ["updated_at", "2015-05-25 23:12:17.527528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:12:17.528367"], ["updated_at", "2015-05-25 23:12:17.528711"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:12:17.529325"], ["current_period_start", "2015-05-25 23:12:17.529325"], ["current_period_end", "2015-06-25 23:12:17.529325"], ["created_at", "2015-05-25 23:12:17.529868"], ["updated_at", "2015-05-25 23:12:17.529868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.532818"], ["updated_at", "2015-05-25 23:12:17.532818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.535323"], ["updated_at", "2015-05-25 23:12:17.535323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.538000"], ["updated_at", "2015-05-25 23:12:17.538000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.540349"], ["updated_at", "2015-05-25 23:12:17.540349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.542604"], ["updated_at", "2015-05-25 23:12:17.542604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.544836"], ["updated_at", "2015-05-25 23:12:17.544836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.547037"], ["updated_at", "2015-05-25 23:12:17.547037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.549451"], ["updated_at", "2015-05-25 23:12:17.549451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.552417"], ["updated_at", "2015-05-25 23:12:17.552417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.558204"], ["updated_at", "2015-05-25 23:12:17.558204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.562084"], ["updated_at", "2015-05-25 23:12:17.562084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.567342"], ["updated_at", "2015-05-25 23:12:17.567342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.577242"], ["updated_at", "2015-05-25 23:12:17.577242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-93') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-93"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.580269"], ["updated_at", "2015-05-25 23:12:17.580269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-94') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-94"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.584161"], ["updated_at", "2015-05-25 23:12:17.584161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-95') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-95"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.587779"], ["updated_at", "2015-05-25 23:12:17.587779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-96') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-96"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.592504"], ["updated_at", "2015-05-25 23:12:17.592504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.599683"], ["updated_at", "2015-05-25 23:12:17.599683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-97') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-97"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.601719"], ["updated_at", "2015-05-25 23:12:17.601719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.603759"], ["updated_at", "2015-05-25 23:12:17.603759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.607254"], ["updated_at", "2015-05-25 23:12:17.607254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.611611"], ["updated_at", "2015-05-25 23:12:17.611611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:12:17.612768"], ["updated_at", "2015-05-25 23:12:17.613513"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:12:17.614356"], ["current_period_start", "2015-05-25 23:12:17.614356"], ["current_period_end", "2015-06-25 23:12:17.614356"], ["created_at", "2015-05-25 23:12:17.615035"], ["updated_at", "2015-05-25 23:12:17.615035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 8ms (ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.617566"], ["updated_at", "2015-05-25 23:12:17.617566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-98') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-98"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.620040"], ["updated_at", "2015-05-25 23:12:17.620040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.621862"], ["updated_at", "2015-05-25 23:12:17.621862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.624794"], ["updated_at", "2015-05-25 23:12:17.624794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.629513"], ["updated_at", "2015-05-25 23:12:17.629513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:12:17.630385"], ["updated_at", "2015-05-25 23:12:17.630768"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:12:17.631400"], ["current_period_start", "2015-05-25 23:12:17.631400"], ["current_period_end", "2015-06-25 23:12:17.631400"], ["created_at", "2015-05-25 23:12:17.631997"], ["updated_at", "2015-05-25 23:12:17.631997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/after_change_plan_success Completed 302 Found in 6ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.634675"], ["updated_at", "2015-05-25 23:12:17.634675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-99') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-99"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.636718"], ["updated_at", "2015-05-25 23:12:17.636718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:12:17.638286"], ["updated_at", "2015-05-25 23:12:17.638286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.640932"], ["updated_at", "2015-05-25 23:12:17.640932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:12:17.647280"], ["updated_at", "2015-05-25 23:12:17.647280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:12:17.648573"], ["updated_at", "2015-05-25 23:12:17.649043"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:12:17.649880"], ["current_period_start", "2015-05-25 23:12:17.649880"], ["current_period_end", "2015-06-25 23:12:17.649880"], ["created_at", "2015-05-25 23:12:17.650511"], ["updated_at", "2015-05-25 23:12:17.650511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 9ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.653416"], ["updated_at", "2015-05-25 23:12:17.653416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.656576"], ["updated_at", "2015-05-25 23:12:17.656576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.660865"], ["updated_at", "2015-05-25 23:12:17.660865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.664142"], ["updated_at", "2015-05-25 23:12:17.664142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:12:17.669190"], ["updated_at", "2015-05-25 23:12:17.669190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:12:17.672295"], ["updated_at", "2015-05-25 23:12:17.672295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 11ms (ActiveRecord: 1.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:37.868556"], ["updated_at", "2015-05-25 23:25:37.868556"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.2ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 11ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:37.883750"], ["updated_at", "2015-05-25 23:25:37.883750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-1') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-1"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:37.897737"], ["updated_at", "2015-05-25 23:25:37.897737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 23:25:37.884656"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:37.902324"], ["updated_at", "2015-05-25 23:25:37.902324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 23:25:37.884656"], ["status", "generated"], ["created_at", "2015-05-25 23:25:37.914417"], ["updated_at", "2015-05-25 23:25:37.914417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 23:25:37.884656"], ["current_period_end", "2015-06-24 23:25:37.884656"], ["updated_at", "2015-05-25 23:25:37.916148"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 19ms (ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:37.929653"], ["updated_at", "2015-05-25 23:25:37.929653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-2') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-2"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:37.931862"], ["updated_at", "2015-05-25 23:25:37.931862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 23:25:37.930473"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:37.933284"], ["updated_at", "2015-05-25 23:25:37.933284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 23:25:37.930473"], ["status", "generated"], ["created_at", "2015-05-25 23:25:37.937298"], ["updated_at", "2015-05-25 23:25:37.937298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 23:25:37.930473"], ["current_period_end", "2015-06-24 23:25:37.930473"], ["updated_at", "2015-05-25 23:25:37.938883"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/new_after_success_path Completed 302 Found in 6ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:37.942419"], ["updated_at", "2015-05-25 23:25:37.942419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-3') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-3"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:37.944876"], ["updated_at", "2015-05-25 23:25:37.944876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-24 23:25:37.943251"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:37.946649"], ["updated_at", "2015-05-25 23:25:37.946649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-24 23:25:37.943251"], ["status", "generated"], ["created_at", "2015-05-25 23:25:37.950236"], ["updated_at", "2015-05-25 23:25:37.950236"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-24 23:25:37.943251"], ["current_period_end", "2015-06-24 23:25:37.943251"], ["updated_at", "2015-05-25 23:25:37.951483"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:37.953863"], ["updated_at", "2015-05-25 23:25:37.953863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:37.958047"], ["updated_at", "2015-05-25 23:25:37.958047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/new_after_fail_path Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:37.961457"], ["updated_at", "2015-05-25 23:25:37.961457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::RenovationsController#create as HTML Parameters: {"owner_id"=>"1"} Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-4') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-4"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:37.965910"], ["updated_at", "2015-05-25 23:25:37.965910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:25:37.670842"], ["created_at", "2015-05-25 23:25:37.967989"], ["updated_at", "2015-05-25 23:25:37.967989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:25:37.969926"], ["updated_at", "2015-05-25 23:25:37.969926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-5') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-5"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:37.972101"], ["updated_at", "2015-05-25 23:25:37.972101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:37.973630"], ["updated_at", "2015-05-25 23:25:37.973630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:37.974996"], ["updated_at", "2015-05-25 23:25:37.974996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('awea') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "awea"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:37.977623"], ["updated_at", "2015-05-25 23:25:37.977623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:25:37.978579"], ["updated_at", "2015-05-25 23:25:37.978579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:37.980283"], ["updated_at", "2015-05-25 23:25:37.980283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:37.981567"], ["updated_at", "2015-05-25 23:25:37.981567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:25:37.983054"], ["updated_at", "2015-05-25 23:25:37.983054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-6') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-6"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:37.984774"], ["updated_at", "2015-05-25 23:25:37.984774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-25 20:25:37.983656"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:37.986122"], ["updated_at", "2015-05-25 23:25:37.986122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 0], ["generated_type", "plan_change"], ["period_start", "2015-05-25 20:25:37.983656"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:37.987487"], ["updated_at", "2015-05-25 23:25:37.987487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:25:37.989145"], ["updated_at", "2015-05-25 23:25:37.989145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-7') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-7"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:37.990863"], ["updated_at", "2015-05-25 23:25:37.990863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:37.992184"], ["updated_at", "2015-05-25 23:25:37.992184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 5], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:37.993615"], ["updated_at", "2015-05-25 23:25:37.993615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:25:37.995086"], ["updated_at", "2015-05-25 23:25:37.995086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-8') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-8"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:37.996793"], ["updated_at", "2015-05-25 23:25:37.996793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:37.999047"], ["updated_at", "2015-05-25 23:25:37.999047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.000728"], ["updated_at", "2015-05-25 23:25:38.000728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.2ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-9') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-9"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 25], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.003572"], ["updated_at", "2015-05-25 23:25:38.003572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:25:38.004749"], ["updated_at", "2015-05-25 23:25:38.004749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.006538"], ["updated_at", "2015-05-25 23:25:38.006538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 25], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.007872"], ["updated_at", "2015-05-25 23:25:38.007872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:25:38.009321"], ["updated_at", "2015-05-25 23:25:38.009321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-10') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-10"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.011122"], ["updated_at", "2015-05-25 23:25:38.011122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.012698"], ["updated_at", "2015-05-25 23:25:38.012698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.014103"], ["updated_at", "2015-05-25 23:25:38.014103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:25:38.015613"], ["updated_at", "2015-05-25 23:25:38.015613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-11') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-11"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.017453"], ["updated_at", "2015-05-25 23:25:38.017453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-26 02:25:38.016253"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.018890"], ["updated_at", "2015-05-25 23:25:38.018890"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-26 02:25:38.016253"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.020274"], ["updated_at", "2015-05-25 23:25:38.020274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "iokero"], ["created_at", "2015-05-25 23:25:38.021662"], ["updated_at", "2015-05-25 23:25:38.021662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-12') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-12"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.023585"], ["updated_at", "2015-05-25 23:25:38.023585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.024980"], ["updated_at", "2015-05-25 23:25:38.024980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.026278"], ["updated_at", "2015-05-25 23:25:38.026278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-13') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-13"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 23:25:38.029220"], ["updated_at", "2015-05-25 23:25:38.029220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-14') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-14"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "t"], ["created_at", "2015-05-25 23:25:38.031244"], ["updated_at", "2015-05-25 23:25:38.031244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-15') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-15"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.032778"], ["updated_at", "2015-05-25 23:25:38.032778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."published" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-16') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-16"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.036142"], ["updated_at", "2015-05-25 23:25:38.036142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-17') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-17"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "t"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.037438"], ["updated_at", "2015-05-25 23:25:38.037438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-18') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-18"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.039155"], ["updated_at", "2015-05-25 23:25:38.039155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."active" = 't'  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE "susply_plans"."sku" IS NULL LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-19') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-20') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-21') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('plan-du') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "plan-du"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.046192"], ["updated_at", "2015-05-25 23:25:38.046192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('pLan-du') LIMIT 1  (0.2ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-22') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-23') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-24') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-25') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-26') LIMIT 1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-27') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-28') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-29') LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-30') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-31') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-32') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-33') LIMIT 1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-34') LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-35') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-36') LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.064703"], ["updated_at", "2015-05-25 23:25:38.064703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-37') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-37"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.066205"], ["updated_at", "2015-05-25 23:25:38.066205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-38') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-38"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.067883"], ["updated_at", "2015-05-25 23:25:38.067883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.069244"], ["updated_at", "2015-05-25 23:25:38.069244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.072319"], ["updated_at", "2015-05-25 23:25:38.072319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:25:38.073124"], ["updated_at", "2015-05-25 23:25:38.073506"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.075522"], ["updated_at", "2015-05-25 23:25:38.075522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-39') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-39"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.077143"], ["updated_at", "2015-05-25 23:25:38.077143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-40') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-40"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.079007"], ["updated_at", "2015-05-25 23:25:38.079007"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.080613"], ["updated_at", "2015-05-25 23:25:38.080613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_close"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.083287"], ["updated_at", "2015-05-25 23:25:38.083287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:25:38.084220"], ["updated_at", "2015-05-25 23:25:38.084593"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.1ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.112154"], ["updated_at", "2015-05-25 23:25:38.112154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-41') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-41"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.114425"], ["updated_at", "2015-05-25 23:25:38.114425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.115991"], ["updated_at", "2015-05-25 23:25:38.115991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.117926"], ["updated_at", "2015-05-25 23:25:38.117926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-42') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-42"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.120284"], ["updated_at", "2015-05-25 23:25:38.120284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:25:37.670842"], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.121999"], ["updated_at", "2015-05-25 23:25:38.121999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.124145"], ["updated_at", "2015-05-25 23:25:38.124145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.125760"], ["updated_at", "2015-05-25 23:25:38.125760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-43') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-43"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.127482"], ["updated_at", "2015-05-25 23:25:38.127482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.128867"], ["updated_at", "2015-05-25 23:25:38.128867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.131428"], ["updated_at", "2015-05-25 23:25:38.131428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-44') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-44"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.133478"], ["updated_at", "2015-05-25 23:25:38.133478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:25:37.670842"], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.134926"], ["updated_at", "2015-05-25 23:25:38.134926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-45') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-45"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.136665"], ["updated_at", "2015-05-25 23:25:38.136665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-20 23:25:38.135591"], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.138082"], ["updated_at", "2015-05-25 23:25:38.138082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.140289"], ["updated_at", "2015-05-25 23:25:38.140289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-46') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-46"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.141943"], ["updated_at", "2015-05-25 23:25:38.141943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.143329"], ["updated_at", "2015-05-25 23:25:38.143329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.145175"], ["updated_at", "2015-05-25 23:25:38.145175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-47') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-47"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.147106"], ["updated_at", "2015-05-25 23:25:38.147106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:25:37.670842"], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.148829"], ["updated_at", "2015-05-25 23:25:38.148829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("name", "subdomain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Iokero"], ["subdomain", "iokero"], ["created_at", "2015-05-25 23:25:38.152736"], ["updated_at", "2015-05-25 23:25:38.152736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-48') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-48"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.154348"], ["updated_at", "2015-05-25 23:25:38.154348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:25:38.155298"], ["current_period_start", "2015-05-25 23:25:38.155298"], ["current_period_end", "2015-06-25 23:25:38.155298"], ["created_at", "2015-05-25 23:25:38.156167"], ["updated_at", "2015-05-25 23:25:38.156167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-54') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-54"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.165207"], ["updated_at", "2015-05-25 23:25:38.165207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-55') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-55"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.167692"], ["updated_at", "2015-05-25 23:25:38.167692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-58') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-58"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.172640"], ["updated_at", "2015-05-25 23:25:38.172640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 23:25:38.171620"], ["created_at", "2015-05-25 23:25:38.173954"], ["updated_at", "2015-05-25 23:25:38.173954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-59') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-59"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.176074"], ["updated_at", "2015-05-25 23:25:38.176074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["created_at", "2015-05-25 23:25:38.177440"], ["updated_at", "2015-05-25 23:25:38.177440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:25:38.178389"], ["updated_at", "2015-05-25 23:25:38.178753"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-60') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-60"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.181911"], ["updated_at", "2015-05-25 23:25:38.181911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-22 23:25:38.180488"], ["created_at", "2015-05-25 23:25:38.183288"], ["updated_at", "2015-05-25 23:25:38.183288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-61') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-61"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.185456"], ["updated_at", "2015-05-25 23:25:38.185456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-62') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-62"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.188077"], ["updated_at", "2015-05-25 23:25:38.188077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-63') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-63"], ["name", "Basic plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.190408"], ["updated_at", "2015-05-25 23:25:38.190408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-64') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-64"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 5], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.192846"], ["updated_at", "2015-05-25 23:25:38.192846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-65') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-65"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.195955"], ["updated_at", "2015-05-25 23:25:38.195955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-66') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-66"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.198613"], ["updated_at", "2015-05-25 23:25:38.198613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-67') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-67"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.201104"], ["updated_at", "2015-05-25 23:25:38.201104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-68') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-68"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.203491"], ["updated_at", "2015-05-25 23:25:38.203491"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-69') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-69"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.206098"], ["updated_at", "2015-05-25 23:25:38.206098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-70') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-70"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.208952"], ["updated_at", "2015-05-25 23:25:38.208952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-71') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-71"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.213931"], ["updated_at", "2015-05-25 23:25:38.213931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-72') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-72"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.216868"], ["updated_at", "2015-05-25 23:25:38.216868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-73') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-73"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.219483"], ["updated_at", "2015-05-25 23:25:38.219483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-74') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-74"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.223811"], ["updated_at", "2015-05-25 23:25:38.223811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-75') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-75"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.226392"], ["updated_at", "2015-05-25 23:25:38.226392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-76') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-76"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.229591"], ["updated_at", "2015-05-25 23:25:38.229591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.231509"], ["updated_at", "2015-05-25 23:25:38.231509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-77') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-77"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.232984"], ["updated_at", "2015-05-25 23:25:38.232984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-78') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-78"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.234594"], ["updated_at", "2015-05-25 23:25:38.234594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "deactivated_at", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["deactivated_at", "2015-05-25 23:25:37.670842"], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.235904"], ["updated_at", "2015-05-25 23:25:38.235904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.237986"], ["updated_at", "2015-05-25 23:25:38.237986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-79') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-79"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.239354"], ["updated_at", "2015-05-25 23:25:38.239354"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-80') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-80"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.241363"], ["updated_at", "2015-05-25 23:25:38.241363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-27 00:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.243134"], ["updated_at", "2015-05-25 23:25:38.243134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.245533"], ["updated_at", "2015-05-25 23:25:38.245533"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-81') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-81"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.247399"], ["updated_at", "2015-05-25 23:25:38.247399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.249055"], ["updated_at", "2015-05-25 23:25:38.249055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.251518"], ["updated_at", "2015-05-25 23:25:38.251518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 23:25:38.252651"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.254106"], ["updated_at", "2015-05-25 23:25:38.254106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-82') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-82"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.256396"], ["updated_at", "2015-05-25 23:25:38.256396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 5], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.257946"], ["updated_at", "2015-05-25 23:25:38.257946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.260693"], ["updated_at", "2015-05-25 23:25:38.260693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 6], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:25:38.261952"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.263497"], ["updated_at", "2015-05-25 23:25:38.263497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-83') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-83"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.265341"], ["updated_at", "2015-05-25 23:25:38.265341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.266869"], ["updated_at", "2015-05-25 23:25:38.266869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.269499"], ["updated_at", "2015-05-25 23:25:38.269499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:25:38.270756"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.273620"], ["updated_at", "2015-05-25 23:25:38.273620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-84') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-84"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.276179"], ["updated_at", "2015-05-25 23:25:38.276179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.277567"], ["updated_at", "2015-05-25 23:25:38.277567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.279982"], ["updated_at", "2015-05-25 23:25:38.279982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:25:38.281115"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.282634"], ["updated_at", "2015-05-25 23:25:38.282634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-85') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-85"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.284428"], ["updated_at", "2015-05-25 23:25:38.284428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-20 00:00:00.000000"], ["current_period_end", "2015-05-25 06:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.285684"], ["updated_at", "2015-05-25 23:25:38.285684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-20 00:00:00.000000"], ["period_end", "2015-05-25 06:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.288215"], ["updated_at", "2015-05-25 23:25:38.288215"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 06:00:00.000000"], ["current_period_end", "2015-06-25 06:00:00.000000"], ["updated_at", "2015-05-25 23:25:38.289352"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.290794"], ["updated_at", "2015-05-25 23:25:38.290794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-86') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-86"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "yearly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.292216"], ["updated_at", "2015-05-25 23:25:38.292216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-25 02:00:00.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.293927"], ["updated_at", "2015-05-25 23:25:38.293927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-25 02:00:00.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.296349"], ["updated_at", "2015-05-25 23:25:38.296349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_start" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_start", "2015-05-25 02:00:00.000000"], ["current_period_end", "2016-05-25 02:00:00.000000"], ["updated_at", "2015-05-25 23:25:38.297460"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.298904"], ["updated_at", "2015-05-25 23:25:38.298904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-87') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-87"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 101], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.300334"], ["updated_at", "2015-05-25 23:25:38.300334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.302209"], ["updated_at", "2015-05-25 23:25:38.302209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.1ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 101], ["generated_type", "plan_renovation"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.305931"], ["updated_at", "2015-05-25 23:25:38.305931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "quantity" = ?, "current_period_end" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["quantity", 2], ["current_period_end", "2015-06-13 13:01:24.000000"], ["updated_at", "2015-05-25 23:25:38.307169"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.309286"], ["updated_at", "2015-05-25 23:25:38.309286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-88') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-88"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.310798"], ["updated_at", "2015-05-25 23:25:38.310798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.0ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-89') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-89"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.312369"], ["updated_at", "2015-05-25 23:25:38.312369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.313719"], ["updated_at", "2015-05-25 23:25:38.313719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.316285"], ["updated_at", "2015-05-25 23:25:38.316285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:25:38.317079"], ["updated_at", "2015-05-25 23:25:38.317434"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:25:38.318083"], ["current_period_start", "2015-05-25 23:25:38.318083"], ["current_period_end", "2015-06-25 23:25:38.318083"], ["created_at", "2015-05-25 23:25:38.318616"], ["updated_at", "2015-05-25 23:25:38.318616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.320335"], ["updated_at", "2015-05-25 23:25:38.320335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-90') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-90"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 100], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.321996"], ["updated_at", "2015-05-25 23:25:38.321996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-91') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-91"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.323943"], ["updated_at", "2015-05-25 23:25:38.323943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-10 00:00:00.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.325307"], ["updated_at", "2015-05-25 23:25:38.325307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-10 00:00:00.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.327950"], ["updated_at", "2015-05-25 23:25:38.327950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:25:38.328794"], ["updated_at", "2015-05-25 23:25:38.329156"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:25:38.335680"], ["current_period_start", "2015-05-25 23:25:38.335680"], ["current_period_end", "2015-06-25 23:25:38.335680"], ["created_at", "2015-05-25 23:25:38.336395"], ["updated_at", "2015-05-25 23:25:38.336395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Payment Load (0.0ms) SELECT "susply_payments".* FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? ORDER BY "susply_payments"."id" DESC LIMIT 1 [["owner_id", 1]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.339116"], ["updated_at", "2015-05-25 23:25:38.339116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-92') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-92"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.341249"], ["updated_at", "2015-05-25 23:25:38.341249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-93') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-93"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.343599"], ["updated_at", "2015-05-25 23:25:38.343599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 2], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.345347"], ["updated_at", "2015-05-25 23:25:38.345347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.348950"], ["updated_at", "2015-05-25 23:25:38.348950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:25:38.350089"], ["updated_at", "2015-05-25 23:25:38.350485"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:25:38.351280"], ["current_period_start", "2015-05-25 23:25:38.351280"], ["current_period_end", "2015-06-25 23:25:38.351280"], ["created_at", "2015-05-25 23:25:38.351860"], ["updated_at", "2015-05-25 23:25:38.351860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.354167"], ["updated_at", "2015-05-25 23:25:38.354167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-94') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-94"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.355868"], ["updated_at", "2015-05-25 23:25:38.355868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:25:38.357184"], ["current_period_start", "2015-05-25 23:25:38.357184"], ["current_period_end", "2015-06-25 23:25:38.357184"], ["created_at", "2015-05-25 23:25:38.357858"], ["updated_at", "2015-05-25 23:25:38.357858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "susply_payments" WHERE "susply_payments"."owner_id" = ? [["owner_id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.359839"], ["updated_at", "2015-05-25 23:25:38.359839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-95') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-95"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.361370"], ["updated_at", "2015-05-25 23:25:38.361370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["quantity", 1], ["start", "2015-05-25 23:25:38.362761"], ["current_period_start", "2015-05-25 23:25:38.362761"], ["current_period_end", "2015-06-25 23:25:38.362761"], ["created_at", "2015-05-25 23:25:38.364197"], ["updated_at", "2015-05-25 23:25:38.364197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-96') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-96"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.369744"], ["updated_at", "2015-05-25 23:25:38.369744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.373541"], ["updated_at", "2015-05-25 23:25:38.373541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.376588"], ["updated_at", "2015-05-25 23:25:38.376588"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.380113"], ["updated_at", "2015-05-25 23:25:38.380113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.382968"], ["updated_at", "2015-05-25 23:25:38.382968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/after_change_plan_fail Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.387151"], ["updated_at", "2015-05-25 23:25:38.387151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.2ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.389969"], ["updated_at", "2015-05-25 23:25:38.389969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"1"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.394775"], ["updated_at", "2015-05-25 23:25:38.394775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-97') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-97"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.397293"], ["updated_at", "2015-05-25 23:25:38.397293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.398851"], ["updated_at", "2015-05-25 23:25:38.398851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.401496"], ["updated_at", "2015-05-25 23:25:38.401496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.1ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.405790"], ["updated_at", "2015-05-25 23:25:38.405790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:25:38.406691"], ["updated_at", "2015-05-25 23:25:38.407114"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:25:38.407751"], ["current_period_start", "2015-05-25 23:25:38.407751"], ["current_period_end", "2015-06-25 23:25:38.407751"], ["created_at", "2015-05-25 23:25:38.408299"], ["updated_at", "2015-05-25 23:25:38.408299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 6ms (ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.410593"], ["updated_at", "2015-05-25 23:25:38.410593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-98') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-98"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.412504"], ["updated_at", "2015-05-25 23:25:38.412504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.414109"], ["updated_at", "2015-05-25 23:25:38.414109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.0ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.416717"], ["updated_at", "2015-05-25 23:25:38.416717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.421623"], ["updated_at", "2015-05-25 23:25:38.421623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:25:38.422607"], ["updated_at", "2015-05-25 23:25:38.422971"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:25:38.424205"], ["current_period_start", "2015-05-25 23:25:38.424205"], ["current_period_end", "2015-06-25 23:25:38.424205"], ["created_at", "2015-05-25 23:25:38.425075"], ["updated_at", "2015-05-25 23:25:38.425075"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/after_change_plan_success Completed 302 Found in 8ms (ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "organizations" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-05-25 23:25:38.428208"], ["updated_at", "2015-05-25 23:25:38.428208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('basic-plan-99') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "basic-plan-99"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.430348"], ["updated_at", "2015-05-25 23:25:38.430348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("plan_id", "start", "current_period_start", "current_period_end", "quantity", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["plan_id", 1], ["start", "2015-05-13 13:01:24.000000"], ["current_period_start", "2015-05-13 13:01:24.000000"], ["current_period_end", "2015-05-13 13:01:24.000000"], ["quantity", 1], ["owner_id", 1], ["created_at", "2015-05-25 23:25:38.431915"], ["updated_at", "2015-05-25 23:25:38.431915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Susply::Plan Exists (0.1ms) SELECT 1 AS one FROM "susply_plans" WHERE LOWER("susply_plans"."sku") = LOWER('new_plan') LIMIT 1 SQL (0.1ms) INSERT INTO "susply_plans" ("sku", "name", "description", "price", "interval", "highlight", "active", "published", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["sku", "new_plan"], ["name", "Principal basic Plan"], ["description", "Long price subscription"], ["price", 1], ["interval", "monthly"], ["highlight", "f"], ["active", "f"], ["published", "f"], ["created_at", "2015-05-25 23:25:38.434875"], ["updated_at", "2015-05-25 23:25:38.434875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Susply::ChangePlansController#create as HTML Parameters: {"plan_id"=>"2"} Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 2]] Susply::Subscription Load (0.0ms) SELECT "susply_subscriptions".* FROM "susply_subscriptions" WHERE "susply_subscriptions"."owner_id" = ? [["owner_id", 1]] Susply::Plan Load (0.0ms) SELECT "susply_plans".* FROM "susply_plans" WHERE "susply_plans"."id" = ? LIMIT 1 [["id", 1]] Organization Load (0.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_payments" ("owner_id", "plan_id", "subscription_id", "amount", "generated_type", "period_start", "period_end", "status", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 1], ["subscription_id", 1], ["amount", 1], ["generated_type", "plan_change"], ["period_start", "2015-05-13 13:01:24.000000"], ["period_end", "2015-05-13 13:01:24.000000"], ["status", "generated"], ["created_at", "2015-05-25 23:25:38.439593"], ["updated_at", "2015-05-25 23:25:38.439593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "susply_subscriptions" SET "deactivated_at" = ?, "updated_at" = ? WHERE "susply_subscriptions"."id" = ? [["deactivated_at", "2015-05-25 23:25:38.440451"], ["updated_at", "2015-05-25 23:25:38.440835"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "susply_subscriptions" ("owner_id", "plan_id", "quantity", "start", "current_period_start", "current_period_end", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["plan_id", 2], ["quantity", 1], ["start", "2015-05-25 23:25:38.441545"], ["current_period_start", "2015-05-25 23:25:38.441545"], ["current_period_end", "2015-06-25 23:25:38.441545"], ["created_at", "2015-05-25 23:25:38.442245"], ["updated_at", "2015-05-25 23:25:38.442245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/susply/organizations/1 Completed 302 Found in 7ms (ActiveRecord: 0.5ms)  (0.1ms) rollback transaction